Class WorkloadNetworkDnsServiceProperties
- java.lang.Object
-
- com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceProperties
-
public final class WorkloadNetworkDnsServiceProperties extends Object
NSX DNS Service Properties.
-
-
Constructor Summary
Constructors Constructor Description WorkloadNetworkDnsServiceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
defaultDnsZone()
Get the defaultDnsZone property: Default DNS zone of the DNS Service.String
displayName()
Get the displayName property: Display name of the DNS Service.String
dnsServiceIp()
Get the dnsServiceIp property: DNS service IP of the DNS Service.List<String>
fqdnZones()
Get the fqdnZones property: FQDN zones of the DNS Service.DnsServiceLogLevelEnum
logLevel()
Get the logLevel property: DNS Service log level.WorkloadNetworkDnsServiceProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state.Long
revision()
Get the revision property: NSX revision number.DnsServiceStatusEnum
status()
Get the status property: DNS Service status.void
validate()
Validates the instance.WorkloadNetworkDnsServiceProperties
withDefaultDnsZone(String defaultDnsZone)
Set the defaultDnsZone property: Default DNS zone of the DNS Service.WorkloadNetworkDnsServiceProperties
withDisplayName(String displayName)
Set the displayName property: Display name of the DNS Service.WorkloadNetworkDnsServiceProperties
withDnsServiceIp(String dnsServiceIp)
Set the dnsServiceIp property: DNS service IP of the DNS Service.WorkloadNetworkDnsServiceProperties
withFqdnZones(List<String> fqdnZones)
Set the fqdnZones property: FQDN zones of the DNS Service.WorkloadNetworkDnsServiceProperties
withLogLevel(DnsServiceLogLevelEnum logLevel)
Set the logLevel property: DNS Service log level.WorkloadNetworkDnsServiceProperties
withRevision(Long revision)
Set the revision property: NSX revision number.
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: Display name of the DNS Service.- Returns:
- the displayName value.
-
withDisplayName
public WorkloadNetworkDnsServiceProperties withDisplayName(String displayName)
Set the displayName property: Display name of the DNS Service.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
dnsServiceIp
public String dnsServiceIp()
Get the dnsServiceIp property: DNS service IP of the DNS Service.- Returns:
- the dnsServiceIp value.
-
withDnsServiceIp
public WorkloadNetworkDnsServiceProperties withDnsServiceIp(String dnsServiceIp)
Set the dnsServiceIp property: DNS service IP of the DNS Service.- Parameters:
dnsServiceIp
- the dnsServiceIp value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
defaultDnsZone
public String defaultDnsZone()
Get the defaultDnsZone property: Default DNS zone of the DNS Service.- Returns:
- the defaultDnsZone value.
-
withDefaultDnsZone
public WorkloadNetworkDnsServiceProperties withDefaultDnsZone(String defaultDnsZone)
Set the defaultDnsZone property: Default DNS zone of the DNS Service.- Parameters:
defaultDnsZone
- the defaultDnsZone value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
fqdnZones
public List<String> fqdnZones()
Get the fqdnZones property: FQDN zones of the DNS Service.- Returns:
- the fqdnZones value.
-
withFqdnZones
public WorkloadNetworkDnsServiceProperties withFqdnZones(List<String> fqdnZones)
Set the fqdnZones property: FQDN zones of the DNS Service.- Parameters:
fqdnZones
- the fqdnZones value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
logLevel
public DnsServiceLogLevelEnum logLevel()
Get the logLevel property: DNS Service log level.- Returns:
- the logLevel value.
-
withLogLevel
public WorkloadNetworkDnsServiceProperties withLogLevel(DnsServiceLogLevelEnum logLevel)
Set the logLevel property: DNS Service log level.- Parameters:
logLevel
- the logLevel value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
status
public DnsServiceStatusEnum status()
Get the status property: DNS Service status.- Returns:
- the status value.
-
provisioningState
public WorkloadNetworkDnsServiceProvisioningState 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 WorkloadNetworkDnsServiceProperties withRevision(Long revision)
Set the revision property: NSX revision number.- Parameters:
revision
- the revision value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-