Class ProvisionedClustersCommonPropertiesStatusProvisioningStatusError
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClustersCommonPropertiesStatusProvisioningStatusError
The ProvisionedClustersCommonPropertiesStatusProvisioningStatusError model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ProvisionedClustersCommonPropertiesStatusProvisioningStatusError class. -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: The code property.message()
Get the message property: The message property.void
validate()
Validates the instance.Set the code property: The code property.withMessage
(String message) Set the message property: The message property.
-
Constructor Details
-
ProvisionedClustersCommonPropertiesStatusProvisioningStatusError
public ProvisionedClustersCommonPropertiesStatusProvisioningStatusError()Creates an instance of ProvisionedClustersCommonPropertiesStatusProvisioningStatusError class.
-
-
Method Details
-
code
Get the code property: The code property.- Returns:
- the code value.
-
withCode
Set the code property: The code property.- Parameters:
code
- the code value to set.- Returns:
- the ProvisionedClustersCommonPropertiesStatusProvisioningStatusError object itself.
-
message
Get the message property: The message property.- Returns:
- the message value.
-
withMessage
Set the message property: The message property.- Parameters:
message
- the message value to set.- Returns:
- the ProvisionedClustersCommonPropertiesStatusProvisioningStatusError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-