Class WorkloadNetworkDnsZoneProperties
java.lang.Object
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsZoneProperties
NSX DNS Zone Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkDnsZoneProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of the DNS Zone.Get the dnsServerIps property: DNS Server IP array of the DNS Zone.Get the dnsServices property: Number of DNS Services using the DNS zone.domain()
Get the domain property: Domain names of the DNS Zone.Get the provisioningState property: The provisioning state.revision()
Get the revision property: NSX revision number.sourceIp()
Get the sourceIp property: Source IP of the DNS Zone.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Display name of the DNS Zone.withDnsServerIps
(List<String> dnsServerIps) Set the dnsServerIps property: DNS Server IP array of the DNS Zone.withDnsServices
(Long dnsServices) Set the dnsServices property: Number of DNS Services using the DNS zone.withDomain
(List<String> domain) Set the domain property: Domain names of the DNS Zone.withRevision
(Long revision) Set the revision property: NSX revision number.withSourceIp
(String sourceIp) Set the sourceIp property: Source IP of the DNS Zone.
-
Constructor Details
-
WorkloadNetworkDnsZoneProperties
public WorkloadNetworkDnsZoneProperties()Creates an instance of WorkloadNetworkDnsZoneProperties class.
-
-
Method Details
-
displayName
Get the displayName property: Display name of the DNS Zone.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the DNS Zone.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
domain
Get the domain property: Domain names of the DNS Zone.- Returns:
- the domain value.
-
withDomain
Set the domain property: Domain names of the DNS Zone.- Parameters:
domain
- the domain value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
dnsServerIps
Get the dnsServerIps property: DNS Server IP array of the DNS Zone.- Returns:
- the dnsServerIps value.
-
withDnsServerIps
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
Get the sourceIp property: Source IP of the DNS Zone.- Returns:
- the sourceIp value.
-
withSourceIp
Set the sourceIp property: Source IP of the DNS Zone.- Parameters:
sourceIp
- the sourceIp value to set.- Returns:
- the WorkloadNetworkDnsZoneProperties object itself.
-
dnsServices
Get the dnsServices property: Number of DNS Services using the DNS zone.- Returns:
- the dnsServices value.
-
withDnsServices
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
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
revision
Get the revision property: NSX revision number.- Returns:
- the revision value.
-
withRevision
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.
-