WorkloadNetworkDnsServiceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceProperties

Implements

public final class WorkloadNetworkDnsServiceProperties
implements JsonSerializable<WorkloadNetworkDnsServiceProperties>

NSX DNS Service Properties.

Constructor Summary

Constructor Description
WorkloadNetworkDnsServiceProperties()

Creates an instance of WorkloadNetworkDnsServiceProperties class.

Method Summary

Modifier and Type Method and 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.

static WorkloadNetworkDnsServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of WorkloadNetworkDnsServiceProperties from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

WorkloadNetworkDnsServiceProperties

public WorkloadNetworkDnsServiceProperties()

Creates an instance of WorkloadNetworkDnsServiceProperties class.

Method Details

defaultDnsZone

public String defaultDnsZone()

Get the defaultDnsZone property: Default DNS zone of the DNS Service.

Returns:

the defaultDnsZone value.

displayName

public String displayName()

Get the displayName property: Display name of the DNS Service.

Returns:

the displayName value.

dnsServiceIp

public String dnsServiceIp()

Get the dnsServiceIp property: DNS service IP of the DNS Service.

Returns:

the dnsServiceIp value.

fqdnZones

public List fqdnZones()

Get the fqdnZones property: FQDN zones of the DNS Service.

Returns:

the fqdnZones value.

fromJson

public static WorkloadNetworkDnsServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of WorkloadNetworkDnsServiceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkloadNetworkDnsServiceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WorkloadNetworkDnsServiceProperties.

logLevel

public DnsServiceLogLevelEnum logLevel()

Get the logLevel property: DNS Service log level.

Returns:

the logLevel 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.

status

public DnsServiceStatusEnum status()

Get the status property: DNS Service status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

withFqdnZones

public WorkloadNetworkDnsServiceProperties withFqdnZones(List fqdnZones)

Set the fqdnZones property: FQDN zones of the DNS Service.

Parameters:

fqdnZones - the fqdnZones value to set.

Returns:

the WorkloadNetworkDnsServiceProperties object itself.

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.

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.

Applies to

Azure SDK for Java

Preview