
com.microsoft.azure.management.dns.implementation.ZoneInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-dns Show documentation
Show all versions of azure-mgmt-dns Show documentation
This package contains Microsoft DNS Management SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.dns.implementation;
import java.util.List;
import com.microsoft.azure.management.dns.ZoneType;
import com.microsoft.azure.management.dns.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
/**
* Describes a DNS zone.
*/
@JsonFlatten
public class ZoneInner extends Resource {
/**
* The etag of the zone.
*/
@JsonProperty(value = "etag")
private String etag;
/**
* The maximum number of record sets that can be created in this DNS zone.
* This is a read-only property and any attempt to set this value will be
* ignored.
*/
@JsonProperty(value = "properties.maxNumberOfRecordSets", access = JsonProperty.Access.WRITE_ONLY)
private Long maxNumberOfRecordSets;
/**
* The current number of record sets in this DNS zone. This is a read-only
* property and any attempt to set this value will be ignored.
*/
@JsonProperty(value = "properties.numberOfRecordSets", access = JsonProperty.Access.WRITE_ONLY)
private Long numberOfRecordSets;
/**
* The name servers for this DNS zone. This is a read-only property and any
* attempt to set this value will be ignored.
*/
@JsonProperty(value = "properties.nameServers", access = JsonProperty.Access.WRITE_ONLY)
private List nameServers;
/**
* The type of this DNS zone (Public or Private). Possible values include:
* 'Public', 'Private'.
*/
@JsonProperty(value = "properties.zoneType")
private ZoneType zoneType;
/**
* A list of references to virtual networks that register hostnames in this
* DNS zone. This is a only when ZoneType is Private.
*/
@JsonProperty(value = "properties.registrationVirtualNetworks")
private List registrationVirtualNetworks;
/**
* A list of references to virtual networks that resolve records in this
* DNS zone. This is a only when ZoneType is Private.
*/
@JsonProperty(value = "properties.resolutionVirtualNetworks")
private List resolutionVirtualNetworks;
/**
* Get the etag value.
*
* @return the etag value
*/
public String etag() {
return this.etag;
}
/**
* Set the etag value.
*
* @param etag the etag value to set
* @return the ZoneInner object itself.
*/
public ZoneInner withEtag(String etag) {
this.etag = etag;
return this;
}
/**
* Get the maxNumberOfRecordSets value.
*
* @return the maxNumberOfRecordSets value
*/
public Long maxNumberOfRecordSets() {
return this.maxNumberOfRecordSets;
}
/**
* Get the numberOfRecordSets value.
*
* @return the numberOfRecordSets value
*/
public Long numberOfRecordSets() {
return this.numberOfRecordSets;
}
/**
* Get the nameServers value.
*
* @return the nameServers value
*/
public List nameServers() {
return this.nameServers;
}
/**
* Get the zoneType value.
*
* @return the zoneType value
*/
public ZoneType zoneType() {
return this.zoneType;
}
/**
* Set the zoneType value.
*
* @param zoneType the zoneType value to set
* @return the ZoneInner object itself.
*/
public ZoneInner withZoneType(ZoneType zoneType) {
this.zoneType = zoneType;
return this;
}
/**
* Get the registrationVirtualNetworks value.
*
* @return the registrationVirtualNetworks value
*/
public List registrationVirtualNetworks() {
return this.registrationVirtualNetworks;
}
/**
* Set the registrationVirtualNetworks value.
*
* @param registrationVirtualNetworks the registrationVirtualNetworks value to set
* @return the ZoneInner object itself.
*/
public ZoneInner withRegistrationVirtualNetworks(List registrationVirtualNetworks) {
this.registrationVirtualNetworks = registrationVirtualNetworks;
return this;
}
/**
* Get the resolutionVirtualNetworks value.
*
* @return the resolutionVirtualNetworks value
*/
public List resolutionVirtualNetworks() {
return this.resolutionVirtualNetworks;
}
/**
* Set the resolutionVirtualNetworks value.
*
* @param resolutionVirtualNetworks the resolutionVirtualNetworks value to set
* @return the ZoneInner object itself.
*/
public ZoneInner withResolutionVirtualNetworks(List resolutionVirtualNetworks) {
this.resolutionVirtualNetworks = resolutionVirtualNetworks;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy