Class VerifierWorkspaceProperties
java.lang.Object
com.azure.resourcemanager.network.models.VerifierWorkspaceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VerifierWorkspaceProperties>
public final class VerifierWorkspaceProperties
extends Object
implements com.azure.json.JsonSerializable<VerifierWorkspaceProperties>
Properties of Verifier Workspace resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VerifierWorkspaceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description property.static VerifierWorkspacePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VerifierWorkspaceProperties from the JsonReader.Get the provisioningState property: Provisioning states of a resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: The description property.withProvisioningState(ProvisioningState provisioningState) Set the provisioningState property: Provisioning states of a resource.Methods inherited from class java.lang.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
-
VerifierWorkspaceProperties
public VerifierWorkspaceProperties()Creates an instance of VerifierWorkspaceProperties class.
-
-
Method Details
-
description
Get the description property: The description property.- Returns:
- the description value.
-
withDescription
Set the description property: The description property.- Parameters:
description- the description value to set.- Returns:
- the VerifierWorkspaceProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning states of a resource.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Provisioning states of a resource.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the VerifierWorkspaceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VerifierWorkspaceProperties>- Throws:
IOException
-
fromJson
public static VerifierWorkspaceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VerifierWorkspaceProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VerifierWorkspaceProperties 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 VerifierWorkspaceProperties.
-