Class ProvisioningIssueProperties

java.lang.Object
com.azure.resourcemanager.eventhubs.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 String issueType()
      Get the issueType property: Type of Issue.
      Returns:
      the issueType value.
    • withIssueType

      public ProvisioningIssueProperties withIssueType(String issueType)
      Set the issueType property: Type of Issue.
      Parameters:
      issueType - the issueType 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.