Class AgentPoolProvisioningStatusError

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

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

    • AgentPoolProvisioningStatusError

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

    • code

      public String code()
      Get the code property: The code property.
      Returns:
      the code value.
    • withCode

      public AgentPoolProvisioningStatusError withCode(String code)
      Set the code property: The code property.
      Parameters:
      code - the code value to set.
      Returns:
      the AgentPoolProvisioningStatusError object itself.
    • message

      public String message()
      Get the message property: The message property.
      Returns:
      the message value.
    • withMessage

      public AgentPoolProvisioningStatusError withMessage(String message)
      Set the message property: The message property.
      Parameters:
      message - the message value to set.
      Returns:
      the AgentPoolProvisioningStatusError object itself.
    • validate

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