CustomDnsConfigPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. CustomDnsConfigPropertiesFormat
- com.
Implements
public final class CustomDnsConfigPropertiesFormat
implements JsonSerializable<CustomDnsConfigPropertiesFormat>
Contains custom Dns resolution configuration from customer.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomDnsConfigPropertiesFormat() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
fqdn()
Get the fqdn property: Fqdn that resolves to private endpoint ip address. |
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
| List<String> |
ipAddresses()
Get the ip |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Custom |
withFqdn(String fqdn)
Set the fqdn property: Fqdn that resolves to private endpoint ip address. |
|
Custom |
withIpAddresses(List<String> ipAddresses)
Set the ip |
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:
fromJson
public static CustomDnsConfigPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of CustomDnsConfigPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
ipAddresses
public List<String> ipAddresses()
Get the ipAddresses property: A list of private ip addresses of the private endpoint.
Returns:
toJson
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:
Returns:
withIpAddresses
public CustomDnsConfigPropertiesFormat withIpAddresses(List<String> ipAddresses)
Set the ipAddresses property: A list of private ip addresses of the private endpoint.
Parameters:
Returns: