Class CloudValidationProperties

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

public final class CloudValidationProperties extends Object implements com.azure.json.JsonSerializable<CloudValidationProperties>
Cloud Validation properties.
  • Constructor Details

    • CloudValidationProperties

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

    • description

      public String description()
      Get the description property: The description of the resource.
      Returns:
      the description value.
    • withDescription

      public CloudValidationProperties withDescription(String description)
      Set the description property: The description of the resource.
      Parameters:
      description - the description value to set.
      Returns:
      the CloudValidationProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: Error details. Populated when provisioningState is Failed or Canceled.
      Returns:
      the error value.
    • managedOnBehalfOfConfiguration

      public ManagedOnBehalfOfConfiguration managedOnBehalfOfConfiguration()
      Get the managedOnBehalfOfConfiguration property: Managed On Behalf Of Configuration.
      Returns:
      the managedOnBehalfOfConfiguration value.
    • toJson

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

      public static CloudValidationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of CloudValidationProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of CloudValidationProperties 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 CloudValidationProperties.