Class PartialBatchDeploymentPartialTrackedResource
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.PartialBatchDeploymentPartialTrackedResource
-
public final class PartialBatchDeploymentPartialTrackedResource extends Object
Strictly used in update requests.
-
-
Constructor Summary
Constructors Constructor Description PartialBatchDeploymentPartialTrackedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartialManagedServiceIdentity
identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities).String
kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.String
location()
Get the location property: The geo-location where the resource lives.PartialBatchDeployment
properties()
Get the properties property: Additional attributes of the entity.PartialSku
sku()
Get the sku property: Sku details required for ARM contract for Autoscaling.Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.PartialBatchDeploymentPartialTrackedResource
withIdentity(PartialManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).PartialBatchDeploymentPartialTrackedResource
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.PartialBatchDeploymentPartialTrackedResource
withLocation(String location)
Set the location property: The geo-location where the resource lives.PartialBatchDeploymentPartialTrackedResource
withProperties(PartialBatchDeployment properties)
Set the properties property: Additional attributes of the entity.PartialBatchDeploymentPartialTrackedResource
withSku(PartialSku sku)
Set the sku property: Sku details required for ARM contract for Autoscaling.PartialBatchDeploymentPartialTrackedResource
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
identity
public PartialManagedServiceIdentity identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities).- Returns:
- the identity value.
-
withIdentity
public PartialBatchDeploymentPartialTrackedResource withIdentity(PartialManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).- Parameters:
identity
- the identity value to set.- Returns:
- the PartialBatchDeploymentPartialTrackedResource object itself.
-
kind
public String kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.- Returns:
- the kind value.
-
withKind
public PartialBatchDeploymentPartialTrackedResource withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.- Parameters:
kind
- the kind value to set.- Returns:
- the PartialBatchDeploymentPartialTrackedResource object itself.
-
location
public String location()
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
withLocation
public PartialBatchDeploymentPartialTrackedResource withLocation(String location)
Set the location property: The geo-location where the resource lives.- Parameters:
location
- the location value to set.- Returns:
- the PartialBatchDeploymentPartialTrackedResource object itself.
-
properties
public PartialBatchDeployment properties()
Get the properties property: Additional attributes of the entity.- Returns:
- the properties value.
-
withProperties
public PartialBatchDeploymentPartialTrackedResource withProperties(PartialBatchDeployment properties)
Set the properties property: Additional attributes of the entity.- Parameters:
properties
- the properties value to set.- Returns:
- the PartialBatchDeploymentPartialTrackedResource object itself.
-
sku
public PartialSku sku()
Get the sku property: Sku details required for ARM contract for Autoscaling.- Returns:
- the sku value.
-
withSku
public PartialBatchDeploymentPartialTrackedResource withSku(PartialSku sku)
Set the sku property: Sku details required for ARM contract for Autoscaling.- Parameters:
sku
- the sku value to set.- Returns:
- the PartialBatchDeploymentPartialTrackedResource object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public PartialBatchDeploymentPartialTrackedResource withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the PartialBatchDeploymentPartialTrackedResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-