Class MachineUpdate
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.ResourceUpdate
com.azure.resourcemanager.hybridcompute.models.MachineUpdate
Describes a hybrid machine Update.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Identity for the resource.Get the properties property: Hybrid Compute Machine properties.void
validate()
Validates the instance.withIdentity
(Identity identity) Set the identity property: Identity for the resource.withProperties
(MachineUpdateProperties properties) Set the properties property: Hybrid Compute Machine properties.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.hybridcompute.models.ResourceUpdate
tags
-
Constructor Details
-
MachineUpdate
public MachineUpdate()Creates an instance of MachineUpdate class.
-
-
Method Details
-
identity
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the MachineUpdate object itself.
-
properties
Get the properties property: Hybrid Compute Machine properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Hybrid Compute Machine properties.- Parameters:
properties
- the properties value to set.- Returns:
- the MachineUpdate object itself.
-
withTags
Set the tags property: Resource tags.- Overrides:
withTags
in classResourceUpdate
- Parameters:
tags
- the tags value to set.- Returns:
- the ResourceUpdate object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceUpdate
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-