PrivateDnsZoneGroupInner Class

public final class PrivateDnsZoneGroupInner
extends SubResource

Private dns zone group resource.

Constructor Summary

Constructor Description
PrivateDnsZoneGroupInner()

Creates an instance of PrivateDnsZoneGroupInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static PrivateDnsZoneGroupInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateDnsZoneGroupInner from the JsonReader.

String name()

Get the name property: Name of the resource that is unique within a resource group.

List<PrivateDnsZoneConfig> privateDnsZoneConfigs()

Get the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private dns zone group resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateDnsZoneGroupInner withId(String id)
PrivateDnsZoneGroupInner withName(String name)

Set the name property: Name of the resource that is unique within a resource group.

PrivateDnsZoneGroupInner withPrivateDnsZoneConfigs(List<PrivateDnsZoneConfig> privateDnsZoneConfigs)

Set the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

PrivateDnsZoneGroupInner

public PrivateDnsZoneGroupInner()

Creates an instance of PrivateDnsZoneGroupInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static PrivateDnsZoneGroupInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateDnsZoneGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateDnsZoneGroupInner 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 PrivateDnsZoneGroupInner.

name

public String name()

Get the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

privateDnsZoneConfigs

public List privateDnsZoneConfigs()

Get the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.

Returns:

the privateDnsZoneConfigs value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private dns zone group resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateDnsZoneGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public PrivateDnsZoneGroupInner withId(String id)

Overrides:

PrivateDnsZoneGroupInner.withId(String id)

Parameters:

id

withName

public PrivateDnsZoneGroupInner withName(String name)

Set the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the PrivateDnsZoneGroupInner object itself.

withPrivateDnsZoneConfigs

public PrivateDnsZoneGroupInner withPrivateDnsZoneConfigs(List 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 PrivateDnsZoneGroupInner object itself.

Applies to