Class ProvisioningIssueProperties

java.lang.Object
com.azure.resourcemanager.storage.models.ProvisioningIssueProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ProvisioningIssueProperties>

public final class ProvisioningIssueProperties extends Object implements com.azure.json.JsonSerializable<ProvisioningIssueProperties>
Properties of provisioning issue.
  • Constructor Details

    • ProvisioningIssueProperties

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

    • issueType

      public IssueType issueType()
      Get the issueType property: Type of issue.
      Returns:
      the issueType value.
    • withIssueType

      public ProvisioningIssueProperties withIssueType(IssueType issueType)
      Set the issueType property: Type of issue.
      Parameters:
      issueType - the issueType value to set.
      Returns:
      the ProvisioningIssueProperties object itself.
    • severity

      public Severity severity()
      Get the severity property: Severity of the issue.
      Returns:
      the severity value.
    • withSeverity

      public ProvisioningIssueProperties withSeverity(Severity severity)
      Set the severity property: Severity of the issue.
      Parameters:
      severity - the severity value to set.
      Returns:
      the ProvisioningIssueProperties object itself.
    • description

      public String description()
      Get the description property: Description of the issue.
      Returns:
      the description value.
    • withDescription

      public ProvisioningIssueProperties withDescription(String description)
      Set the description property: Description of the issue.
      Parameters:
      description - the description value to set.
      Returns:
      the ProvisioningIssueProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ProvisioningIssueProperties>
      Throws:
      IOException
    • fromJson

      public static ProvisioningIssueProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ProvisioningIssueProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ProvisioningIssueProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ProvisioningIssueProperties.