@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsOptionsSpecification extends Object implements Serializable, Cloneable
Describes the DNS options for an endpoint.
Constructor and Description |
---|
DnsOptionsSpecification() |
Modifier and Type | Method and Description |
---|---|
DnsOptionsSpecification |
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.
|
DnsOptionsSpecification |
withDnsRecordIpType(DnsRecordIpType dnsRecordIpType)
The DNS records created for the endpoint.
|
DnsOptionsSpecification |
withDnsRecordIpType(String dnsRecordIpType)
The DNS records created for the endpoint.
|
DnsOptionsSpecification |
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.DnsRecordIpType
public String getDnsRecordIpType()
The DNS records created for the endpoint.
DnsRecordIpType
public DnsOptionsSpecification withDnsRecordIpType(String dnsRecordIpType)
The DNS records created for the endpoint.
dnsRecordIpType
- The DNS records created for the endpoint.DnsRecordIpType
public DnsOptionsSpecification withDnsRecordIpType(DnsRecordIpType dnsRecordIpType)
The DNS records created for the endpoint.
dnsRecordIpType
- The DNS records created for the endpoint.DnsRecordIpType
public void setPrivateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)
Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
privateDnsOnlyForInboundResolverEndpoint
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for
services that support both gateway and interface endpoints. It routes traffic that originates from the VPC
to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.public Boolean getPrivateDnsOnlyForInboundResolverEndpoint()
Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
public DnsOptionsSpecification withPrivateDnsOnlyForInboundResolverEndpoint(Boolean privateDnsOnlyForInboundResolverEndpoint)
Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
privateDnsOnlyForInboundResolverEndpoint
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for
services that support both gateway and interface endpoints. It routes traffic that originates from the VPC
to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.public Boolean isPrivateDnsOnlyForInboundResolverEndpoint()
Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
public String toString()
toString
in class Object
Object.toString()
public DnsOptionsSpecification clone()