DnsResolverDomainListInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. dnsresolver. fluent. models. DnsResolverDomainListInner
- com.
- com.
- com.
public final class DnsResolverDomainListInner
extends Resource
Describes a DNS resolver domain list.
Constructor Summary
| Constructor | Description |
|---|---|
| DnsResolverDomainListInner() |
Creates an instance of Dns |
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 domains |
| String |
etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. |
|
static
Dns |
fromJson(JsonReader jsonReader)
Reads an instance of Dns |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Dns |
withDomains(List<String> domains)
Set the domains property: The domains in the domain list. |
|
Dns |
withLocation(String location) |
|
Dns |
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:
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:
etag
public String etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").
Returns:
fromJson
public static DnsResolverDomainListInner fromJson(JsonReader jsonReader)
Reads an instance of DnsResolverDomainListInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DnsResolverDomainListInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DnsResolverDomainListInner.name()Returns:
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:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resourceGuid property of the DNS resolver domain list resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DnsResolverDomainListInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DnsResolverDomainListInner.type()Returns:
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:
Returns:
withLocation
public DnsResolverDomainListInner withLocation(String location)
Overrides:
DnsResolverDomainListInner.withLocation(String location)Parameters:
withTags
public DnsResolverDomainListInner withTags(Map<String,String> tags)
Overrides:
DnsResolverDomainListInner.withTags(Map<String,String> tags)Parameters: