Class ExtendedStatusInfo

java.lang.Object
com.azure.resourcemanager.billingbenefits.models.ExtendedStatusInfo

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

    • ExtendedStatusInfo

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

    • statusCode

      public String statusCode()
      Get the statusCode property: Status code providing additional information.
      Returns:
      the statusCode value.
    • withStatusCode

      public ExtendedStatusInfo withStatusCode(String statusCode)
      Set the statusCode property: Status code providing additional information.
      Parameters:
      statusCode - the statusCode value to set.
      Returns:
      the ExtendedStatusInfo object itself.
    • message

      public String message()
      Get the message property: The message giving detailed information about the status code.
      Returns:
      the message value.
    • withMessage

      public ExtendedStatusInfo withMessage(String message)
      Set the message property: The message giving detailed information about the status code.
      Parameters:
      message - the message value to set.
      Returns:
      the ExtendedStatusInfo object itself.
    • validate

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