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 Summary
ConstructorsConstructorDescriptionCreates an instance of CloudValidationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the resource.com.azure.core.management.exception.ManagementErrorerror()Get the error property: Error details.static CloudValidationPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CloudValidationProperties from the JsonReader.Get the managedOnBehalfOfConfiguration property: Managed On Behalf Of Configuration.Get the provisioningState property: The provisioning state of the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withDescription(String description) Set the description property: The description of the resource.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CloudValidationProperties
public CloudValidationProperties()Creates an instance of CloudValidationProperties class.
-
-
Method Details
-
description
Get the description property: The description of the resource.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the resource.- Parameters:
description- the description value to set.- Returns:
- the CloudValidationProperties object itself.
-
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
Get the managedOnBehalfOfConfiguration property: Managed On Behalf Of Configuration.- Returns:
- the managedOnBehalfOfConfiguration value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-