CustomService Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. CustomService
- com.
Implements
public final class CustomService
implements JsonSerializable<CustomService>
Specifies the custom service configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomService() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| Docker |
docker()
Get the docker property: Describes the docker settings for the image. |
| List<Endpoint> |
endpoints()
Get the endpoints property: Configuring the endpoints for the container. |
|
Map<String,Environment |
environmentVariables()
Get the environment |
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
| Image |
image()
Get the image property: Describes the Image Specifications. |
| String |
name()
Get the name property: Name of the Custom Service. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<Volume |
volumes()
Get the volumes property: Configuring the volumes for the container. |
|
Custom |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Custom |
withDocker(Docker docker)
Set the docker property: Describes the docker settings for the image. |
|
Custom |
withEndpoints(List<Endpoint> endpoints)
Set the endpoints property: Configuring the endpoints for the container. |
|
Custom |
withEnvironmentVariables(Map<String,EnvironmentVariable> environmentVariables)
Set the environment |
|
Custom |
withImage(Image image)
Set the image property: Describes the Image Specifications. |
|
Custom |
withName(String name)
Set the name property: Name of the Custom Service. |
|
Custom |
withVolumes(List<VolumeDefinition> volumes)
Set the volumes property: Configuring the volumes for the container. |
Methods inherited from java.lang.Object
Constructor Details
CustomService
public CustomService()
Creates an instance of CustomService class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Specifies the custom service configuration.
Returns:
docker
public Docker docker()
Get the docker property: Describes the docker settings for the image.
Returns:
endpoints
public List<Endpoint> endpoints()
Get the endpoints property: Configuring the endpoints for the container.
Returns:
environmentVariables
public Map<String,EnvironmentVariable> environmentVariables()
Get the environmentVariables property: Environment Variable for the container.
Returns:
fromJson
public static CustomService fromJson(JsonReader jsonReader)
Reads an instance of CustomService from the JsonReader.
Parameters:
Returns:
Throws:
image
public Image image()
Get the image property: Describes the Image Specifications.
Returns:
name
public String name()
Get the name property: Name of the Custom Service.
Returns:
toJson
validate
public void validate()
Validates the instance.
volumes
public List<VolumeDefinition> volumes()
Get the volumes property: Configuring the volumes for the container.
Returns:
withAdditionalProperties
public CustomService withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Specifies the custom service configuration.
Parameters:
Returns:
withDocker
public CustomService withDocker(Docker docker)
Set the docker property: Describes the docker settings for the image.
Parameters:
Returns:
withEndpoints
public CustomService withEndpoints(List<Endpoint> endpoints)
Set the endpoints property: Configuring the endpoints for the container.
Parameters:
Returns:
withEnvironmentVariables
public CustomService withEnvironmentVariables(Map<String,EnvironmentVariable> environmentVariables)
Set the environmentVariables property: Environment Variable for the container.
Parameters:
Returns:
withImage
public CustomService withImage(Image image)
Set the image property: Describes the Image Specifications.
Parameters:
Returns:
withName
public CustomService withName(String name)
Set the name property: Name of the Custom Service.
Parameters:
Returns:
withVolumes
public CustomService withVolumes(List<VolumeDefinition> volumes)
Set the volumes property: Configuring the volumes for the container.
Parameters:
Returns: