Class EndpointDeploymentPropertiesBase
java.lang.Object
com.azure.resourcemanager.machinelearning.models.EndpointDeploymentPropertiesBase
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EndpointDeploymentPropertiesBase>
- Direct Known Subclasses:
BatchDeploymentProperties,OnlineDeploymentProperties
public class EndpointDeploymentPropertiesBase
extends Object
implements com.azure.json.JsonSerializable<EndpointDeploymentPropertiesBase>
Base definition for endpoint deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EndpointDeploymentPropertiesBase class. -
Method Summary
Modifier and TypeMethodDescriptionGet the codeConfiguration property: Code configuration for the endpoint deployment.Get the description property: Description of the endpoint deployment.Get the environmentId property: ARM resource ID or AssetId of the environment specification for the endpoint deployment.Get the environmentVariables property: Environment variables configuration for the deployment.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EndpointDeploymentPropertiesBase from the JsonReader.Get the properties property: Property dictionary.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCodeConfiguration(CodeConfiguration codeConfiguration) Set the codeConfiguration property: Code configuration for the endpoint deployment.withDescription(String description) Set the description property: Description of the endpoint deployment.withEnvironmentId(String environmentId) Set the environmentId property: ARM resource ID or AssetId of the environment specification for the endpoint deployment.withEnvironmentVariables(Map<String, String> environmentVariables) Set the environmentVariables property: Environment variables configuration for the deployment.withProperties(Map<String, String> properties) Set the properties property: Property dictionary.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
EndpointDeploymentPropertiesBase
public EndpointDeploymentPropertiesBase()Creates an instance of EndpointDeploymentPropertiesBase class.
-
-
Method Details
-
description
Get the description property: Description of the endpoint deployment.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the endpoint deployment.- Parameters:
description- the description value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
properties
Get the properties property: Property dictionary. Properties can be added, but not removed or altered.- Returns:
- the properties value.
-
withProperties
Set the properties property: Property dictionary. Properties can be added, but not removed or altered.- Parameters:
properties- the properties value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
codeConfiguration
Get the codeConfiguration property: Code configuration for the endpoint deployment.- Returns:
- the codeConfiguration value.
-
withCodeConfiguration
Set the codeConfiguration property: Code configuration for the endpoint deployment.- Parameters:
codeConfiguration- the codeConfiguration value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
environmentId
Get the environmentId property: ARM resource ID or AssetId of the environment specification for the endpoint deployment.- Returns:
- the environmentId value.
-
withEnvironmentId
Set the environmentId property: ARM resource ID or AssetId of the environment specification for the endpoint deployment.- Parameters:
environmentId- the environmentId value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
environmentVariables
Get the environmentVariables property: Environment variables configuration for the deployment.- Returns:
- the environmentVariables value.
-
withEnvironmentVariables
public EndpointDeploymentPropertiesBase withEnvironmentVariables(Map<String, String> environmentVariables) Set the environmentVariables property: Environment variables configuration for the deployment.- Parameters:
environmentVariables- the environmentVariables value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EndpointDeploymentPropertiesBase>- Throws:
IOException
-
fromJson
public static EndpointDeploymentPropertiesBase fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of EndpointDeploymentPropertiesBase from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of EndpointDeploymentPropertiesBase if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the EndpointDeploymentPropertiesBase.
-