Class VirtualNetworksPropertiesStatusProvisioningStatus
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.VirtualNetworksPropertiesStatusProvisioningStatus
Contains Provisioning errors.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VirtualNetworksPropertiesStatusProvisioningStatus class. -
Method Summary
Modifier and TypeMethodDescriptionerror()
Get the error property: The error property.Get the operationId property: The operationId property.phase()
Get the phase property: Phase represents the current phase of cluster actuation.status()
Get the status property: The status property.void
validate()
Validates the instance.Set the error property: The error property.withOperationId
(String operationId) Set the operationId property: The operationId property.Set the phase property: Phase represents the current phase of cluster actuation.withStatus
(String status) Set the status property: The status property.
-
Constructor Details
-
VirtualNetworksPropertiesStatusProvisioningStatus
public VirtualNetworksPropertiesStatusProvisioningStatus()Creates an instance of VirtualNetworksPropertiesStatusProvisioningStatus class.
-
-
Method Details
-
error
Get the error property: The error property.- Returns:
- the error value.
-
withError
public VirtualNetworksPropertiesStatusProvisioningStatus withError(VirtualNetworksPropertiesStatusProvisioningStatusError error) Set the error property: The error property.- Parameters:
error
- the error value to set.- Returns:
- the VirtualNetworksPropertiesStatusProvisioningStatus object itself.
-
operationId
Get the operationId property: The operationId property.- Returns:
- the operationId value.
-
withOperationId
Set the operationId property: The operationId property.- Parameters:
operationId
- the operationId value to set.- Returns:
- the VirtualNetworksPropertiesStatusProvisioningStatus object itself.
-
phase
Get the phase property: Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.- Returns:
- the phase value.
-
withPhase
Set the phase property: Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.- Parameters:
phase
- the phase value to set.- Returns:
- the VirtualNetworksPropertiesStatusProvisioningStatus object itself.
-
status
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
Set the status property: The status property.- Parameters:
status
- the status value to set.- Returns:
- the VirtualNetworksPropertiesStatusProvisioningStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-