Freigeben über


CustomDnsConfigPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.CustomDnsConfigPropertiesFormat

Implements

public final class CustomDnsConfigPropertiesFormat
implements JsonSerializable<CustomDnsConfigPropertiesFormat>

Contains custom Dns resolution configuration from customer.

Constructor Summary

Constructor Description
CustomDnsConfigPropertiesFormat()

Creates an instance of CustomDnsConfigPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
String fqdn()

Get the fqdn property: Fqdn that resolves to private endpoint ip address.

static CustomDnsConfigPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of CustomDnsConfigPropertiesFormat from the JsonReader.

List<String> ipAddresses()

Get the ipAddresses property: A list of private ip addresses of the private endpoint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomDnsConfigPropertiesFormat withFqdn(String fqdn)

Set the fqdn property: Fqdn that resolves to private endpoint ip address.

CustomDnsConfigPropertiesFormat withIpAddresses(List<String> ipAddresses)

Set the ipAddresses property: A list of private ip addresses of the private endpoint.

Methods inherited from java.lang.Object

Constructor Details

CustomDnsConfigPropertiesFormat

public CustomDnsConfigPropertiesFormat()

Creates an instance of CustomDnsConfigPropertiesFormat class.

Method Details

fqdn

public String fqdn()

Get the fqdn property: Fqdn that resolves to private endpoint ip address.

Returns:

the fqdn value.

fromJson

public static CustomDnsConfigPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of CustomDnsConfigPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomDnsConfigPropertiesFormat 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 CustomDnsConfigPropertiesFormat.

ipAddresses

public List ipAddresses()

Get the ipAddresses property: A list of private ip addresses of the private endpoint.

Returns:

the ipAddresses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFqdn

public CustomDnsConfigPropertiesFormat withFqdn(String fqdn)

Set the fqdn property: Fqdn that resolves to private endpoint ip address.

Parameters:

fqdn - the fqdn value to set.

Returns:

the CustomDnsConfigPropertiesFormat object itself.

withIpAddresses

public CustomDnsConfigPropertiesFormat withIpAddresses(List ipAddresses)

Set the ipAddresses property: A list of private ip addresses of the private endpoint.

Parameters:

ipAddresses - the ipAddresses value to set.

Returns:

the CustomDnsConfigPropertiesFormat object itself.

Applies to