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 Details

    • EndpointDeploymentPropertiesBase

      public EndpointDeploymentPropertiesBase()
      Creates an instance of EndpointDeploymentPropertiesBase class.
  • Method Details

    • 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.
    • 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.
    • 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.
    • environmentId

      public String environmentId()
      Get the environmentId property: ARM resource ID or AssetId 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 or AssetId 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.