Class StorageSpacesPropertiesStatusProvisioningStatusError

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.StorageSpacesPropertiesStatusProvisioningStatusError

public final class StorageSpacesPropertiesStatusProvisioningStatusError extends Object
The StorageSpacesPropertiesStatusProvisioningStatusError model.
  • Constructor Details

    • StorageSpacesPropertiesStatusProvisioningStatusError

      public StorageSpacesPropertiesStatusProvisioningStatusError()
      Creates an instance of StorageSpacesPropertiesStatusProvisioningStatusError class.
  • Method Details

    • code

      public String 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 StorageSpacesPropertiesStatusProvisioningStatusError object itself.
    • message

      public String 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 StorageSpacesPropertiesStatusProvisioningStatusError object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.