Class WorkloadNetworkDnsZoneProperties
- java.lang.Object
-
- com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsZoneProperties
-
public final class WorkloadNetworkDnsZoneProperties extends Object
NSX DNS Zone Properties.
-
-
Constructor Summary
Constructors Constructor Description WorkloadNetworkDnsZoneProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Display name of the DNS Zone.List<String>
dnsServerIps()
Get the dnsServerIps property: DNS Server IP array of the DNS Zone.Long
dnsServices()
Get the dnsServices property: Number of DNS Services using the DNS zone.List<String>
domain()
Get the domain property: Domain names of the DNS Zone.WorkloadNetworkDnsZoneProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state.Long
revision()
Get the revision property: NSX revision number.String
sourceIp()
Get the sourceIp property: Source IP of the DNS Zone.void
validate()
Validates the instance.WorkloadNetworkDnsZoneProperties
withDisplayName(String displayName)
Set the displayName property: Display name of the DNS Zone.WorkloadNetworkDnsZoneProperties
withDnsServerIps(List<String> dnsServerIps)
Set the dnsServerIps property: DNS Server IP array of the DNS Zone.WorkloadNetworkDnsZoneProperties
withDnsServices(Long dnsServices)
Set the dnsServices property: Number of DNS Services using the DNS zone.WorkloadNetworkDnsZoneProperties
withDomain(List<String> domain)
Set the domain property: Domain names of the DNS Zone.WorkloadNetworkDnsZoneProperties
withRevision(Long revision)
Set the revision property: NSX revision number.WorkloadNetworkDnsZoneProperties
withSourceIp(String sourceIp)
Set the sourceIp property: Source IP of the DNS Zone.
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: Display name of the DNS Zone.- Returns:
- the displayName value.
-
withDisplayName
public WorkloadNetworkDnsZoneProperties withDisplayName(String displayName)
Set the displayName property: Display name of the DNS Zone.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
domain
public List<String> domain()
Get the domain property: Domain names of the DNS Zone.- Returns:
- the domain value.
-
withDomain
public WorkloadNetworkDnsZoneProperties withDomain(List<String> domain)
Set the domain property: Domain names of the DNS Zone.- Parameters:
domain
- the domain value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
dnsServerIps
public List<String> dnsServerIps()
Get the dnsServerIps property: DNS Server IP array of the DNS Zone.- Returns:
- the dnsServerIps value.
-
withDnsServerIps
public WorkloadNetworkDnsZoneProperties withDnsServerIps(List<String> dnsServerIps)
Set the dnsServerIps property: DNS Server IP array of the DNS Zone.- Parameters:
dnsServerIps
- the dnsServerIps value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
sourceIp
public String sourceIp()
Get the sourceIp property: Source IP of the DNS Zone.- Returns:
- the sourceIp value.
-
withSourceIp
public WorkloadNetworkDnsZoneProperties withSourceIp(String sourceIp)
Set the sourceIp property: Source IP of the DNS Zone.- Parameters:
sourceIp
- the sourceIp value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
dnsServices
public Long dnsServices()
Get the dnsServices property: Number of DNS Services using the DNS zone.- Returns:
- the dnsServices value.
-
withDnsServices
public WorkloadNetworkDnsZoneProperties withDnsServices(Long dnsServices)
Set the dnsServices property: Number of DNS Services using the DNS zone.- Parameters:
dnsServices
- the dnsServices value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
provisioningState
public WorkloadNetworkDnsZoneProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
revision
public Long revision()
Get the revision property: NSX revision number.- Returns:
- the revision value.
-
withRevision
public WorkloadNetworkDnsZoneProperties withRevision(Long revision)
Set the revision property: NSX revision number.- Parameters:
revision
- the revision value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-