Class EndpointDeploymentPropertiesBase
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.EndpointDeploymentPropertiesBase
-
- Direct Known Subclasses:
BatchDeploymentDetails
,OnlineDeploymentDetails
public class EndpointDeploymentPropertiesBase extends Object
Base definition for endpoint deployment.
-
-
Constructor Summary
Constructors Constructor Description EndpointDeploymentPropertiesBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeConfiguration
codeConfiguration()
Get the codeConfiguration property: Code configuration for the endpoint deployment.String
description()
Get the description property: Description of the endpoint deployment.String
environmentId()
Get the environmentId property: ARM resource ID of the environment specification for the endpoint deployment.Map<String,String>
environmentVariables()
Get the environmentVariables property: Environment variables configuration for the deployment.Map<String,String>
properties()
Get the properties property: Property dictionary.void
validate()
Validates the instance.EndpointDeploymentPropertiesBase
withCodeConfiguration(CodeConfiguration codeConfiguration)
Set the codeConfiguration property: Code configuration for the endpoint deployment.EndpointDeploymentPropertiesBase
withDescription(String description)
Set the description property: Description of the endpoint deployment.EndpointDeploymentPropertiesBase
withEnvironmentId(String environmentId)
Set the environmentId property: ARM resource ID of the environment specification for the endpoint deployment.EndpointDeploymentPropertiesBase
withEnvironmentVariables(Map<String,String> environmentVariables)
Set the environmentVariables property: Environment variables configuration for the deployment.EndpointDeploymentPropertiesBase
withProperties(Map<String,String> properties)
Set the properties property: Property dictionary.
-
-
-
Method Detail
-
codeConfiguration
public CodeConfiguration codeConfiguration()
Get the codeConfiguration property: Code configuration for the endpoint deployment.- Returns:
- the codeConfiguration value.
-
withCodeConfiguration
public EndpointDeploymentPropertiesBase withCodeConfiguration(CodeConfiguration codeConfiguration)
Set the codeConfiguration property: Code configuration for the endpoint deployment.- Parameters:
codeConfiguration
- the codeConfiguration value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
description
public String description()
Get the description property: Description of the endpoint deployment.- Returns:
- the description value.
-
withDescription
public EndpointDeploymentPropertiesBase withDescription(String description)
Set the description property: Description of the endpoint deployment.- Parameters:
description
- the description value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
environmentId
public String environmentId()
Get the environmentId property: ARM resource ID of the environment specification for the endpoint deployment.- Returns:
- the environmentId value.
-
withEnvironmentId
public EndpointDeploymentPropertiesBase withEnvironmentId(String environmentId)
Set the environmentId property: ARM resource ID of the environment specification for the endpoint deployment.- Parameters:
environmentId
- the environmentId value to set.- Returns:
- the EndpointDeploymentPropertiesBase object itself.
-
environmentVariables
public Map<String,String> 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.
-
properties
public Map<String,String> properties()
Get the properties property: Property dictionary. Properties can be added, but not removed or altered.- Returns:
- the properties value.
-
withProperties
public EndpointDeploymentPropertiesBase withProperties(Map<String,String> properties)
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-