Class PrivateDnsZoneGroupPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.PrivateDnsZoneGroupPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateDnsZoneGroupPropertiesFormat>
public final class PrivateDnsZoneGroupPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<PrivateDnsZoneGroupPropertiesFormat>
Properties of the private dns zone group.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateDnsZoneGroupPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateDnsZoneGroupPropertiesFormat from the JsonReader.Get the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.Get the provisioningState property: The provisioning state of the private dns zone group resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPrivateDnsZoneConfigs(List<PrivateDnsZoneConfig> privateDnsZoneConfigs) Set the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.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
-
PrivateDnsZoneGroupPropertiesFormat
public PrivateDnsZoneGroupPropertiesFormat()Creates an instance of PrivateDnsZoneGroupPropertiesFormat class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the private dns zone group resource.- Returns:
- the provisioningState value.
-
privateDnsZoneConfigs
Get the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.- Returns:
- the privateDnsZoneConfigs value.
-
withPrivateDnsZoneConfigs
public PrivateDnsZoneGroupPropertiesFormat withPrivateDnsZoneConfigs(List<PrivateDnsZoneConfig> privateDnsZoneConfigs) Set the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.- Parameters:
privateDnsZoneConfigs- the privateDnsZoneConfigs value to set.- Returns:
- the PrivateDnsZoneGroupPropertiesFormat 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<PrivateDnsZoneGroupPropertiesFormat>- Throws:
IOException
-
fromJson
public static PrivateDnsZoneGroupPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateDnsZoneGroupPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateDnsZoneGroupPropertiesFormat 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 PrivateDnsZoneGroupPropertiesFormat.
-