@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsOptions extends Object implements Serializable, Cloneable
Describes the DNS options for an endpoint.
| Constructor and Description |
|---|
DnsOptions() |
| Modifier and Type | Method and Description |
|---|---|
DnsOptions |
clone() |
boolean |
equals(Object obj) |
String |
getDnsRecordIpType()
The DNS records created for the endpoint.
|
Boolean |
getPrivateDnsOnlyForInboundResolverEndpoint()
Indicates whether to enable private DNS only for inbound endpoints.
|
int |
hashCode() |
Boolean |
isPrivateDnsOnlyForInboundResolverEndpoint()
Indicates whether to enable private DNS only for inbound endpoints.
|
void |
setDnsRecordIpType(String dnsRecordIpType)
The DNS records created for the endpoint.
|
void |
setPrivateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)
Indicates whether to enable private DNS only for inbound endpoints.
|
String |
toString()
Returns a string representation of this object.
|
DnsOptions |
withDnsRecordIpType(DnsRecordIpType dnsRecordIpType)
The DNS records created for the endpoint.
|
DnsOptions |
withDnsRecordIpType(String dnsRecordIpType)
The DNS records created for the endpoint.
|
DnsOptions |
withPrivateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)
Indicates whether to enable private DNS only for inbound endpoints.
|
public void setDnsRecordIpType(String dnsRecordIpType)
The DNS records created for the endpoint.
dnsRecordIpType - The DNS records created for the endpoint.DnsRecordIpTypepublic String getDnsRecordIpType()
The DNS records created for the endpoint.
DnsRecordIpTypepublic DnsOptions withDnsRecordIpType(String dnsRecordIpType)
The DNS records created for the endpoint.
dnsRecordIpType - The DNS records created for the endpoint.DnsRecordIpTypepublic DnsOptions withDnsRecordIpType(DnsRecordIpType dnsRecordIpType)
The DNS records created for the endpoint.
dnsRecordIpType - The DNS records created for the endpoint.DnsRecordIpTypepublic void setPrivateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)
Indicates whether to enable private DNS only for inbound endpoints.
privateDnsOnlyForInboundResolverEndpoint - Indicates whether to enable private DNS only for inbound endpoints.public Boolean getPrivateDnsOnlyForInboundResolverEndpoint()
Indicates whether to enable private DNS only for inbound endpoints.
public DnsOptions withPrivateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)
Indicates whether to enable private DNS only for inbound endpoints.
privateDnsOnlyForInboundResolverEndpoint - Indicates whether to enable private DNS only for inbound endpoints.public Boolean isPrivateDnsOnlyForInboundResolverEndpoint()
Indicates whether to enable private DNS only for inbound endpoints.
public String toString()
toString in class ObjectObject.toString()public DnsOptions clone()