DnsResolverDomainListInner Class

public final class DnsResolverDomainListInner
extends Resource

Describes a DNS resolver domain list.

Constructor Summary

Constructor Description
DnsResolverDomainListInner()

Creates an instance of DnsResolverDomainListInner class.

Method Summary

Modifier and Type Method and Description
List<String> domains()

Get the domains property: The domains in the domain list.

String domainsUrl()

Get the domainsUrl property: The URL for bulk upload or download for domain lists containing larger set of domains.

String etag()

Get the etag property: ETag of the DNS resolver domain list.

static DnsResolverDomainListInner fromJson(JsonReader jsonReader)

Reads an instance of DnsResolverDomainListInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the DNS resolver domain list.

String resourceGuid()

Get the resourceGuid property: The resourceGuid property of the DNS resolver domain list resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DnsResolverDomainListInner withDomains(List<String> domains)

Set the domains property: The domains in the domain list.

DnsResolverDomainListInner withLocation(String location)
DnsResolverDomainListInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DnsResolverDomainListInner

public DnsResolverDomainListInner()

Creates an instance of DnsResolverDomainListInner class.

Method Details

domains

public List<String> domains()

Get the domains property: The domains in the domain list. Will be null if user is using large domain list.

Returns:

the domains value.

domainsUrl

public String domainsUrl()

Get the domainsUrl property: The URL for bulk upload or download for domain lists containing larger set of domains. This will be populated if domains is empty or null.

Returns:

the domainsUrl value.

etag

public String etag()

Get the etag property: ETag of the DNS resolver domain list.

Returns:

the etag value.

fromJson

public static DnsResolverDomainListInner fromJson(JsonReader jsonReader)

Reads an instance of DnsResolverDomainListInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DnsResolverDomainListInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DnsResolverDomainListInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DnsResolverDomainListInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the DNS resolver domain list. This is a read-only property and any attempt to set this value will be ignored.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resourceGuid property of the DNS resolver domain list resource.

Returns:

the resourceGuid value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DnsResolverDomainListInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DnsResolverDomainListInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDomains

public DnsResolverDomainListInner withDomains(List<String> domains)

Set the domains property: The domains in the domain list. Will be null if user is using large domain list.

Parameters:

domains - the domains value to set.

Returns:

the DnsResolverDomainListInner object itself.

withLocation

public DnsResolverDomainListInner withLocation(String location)

Overrides:

DnsResolverDomainListInner.withLocation(String location)

Parameters:

location

withTags

public DnsResolverDomainListInner withTags(Map<String,String> tags)

Overrides:

DnsResolverDomainListInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to