Class DnsOptionsSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.DnsOptionsSpecification
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DnsOptionsSpecification.Builder,DnsOptionsSpecification>
@Generated("software.amazon.awssdk:codegen") public final class DnsOptionsSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DnsOptionsSpecification.Builder,DnsOptionsSpecification>
Describes the DNS options for an endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DnsOptionsSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DnsOptionsSpecification.Builder
builder()
DnsRecordIpType
dnsRecordIpType()
The DNS records created for the endpoint.String
dnsRecordIpTypeAsString()
The DNS records created for the endpoint.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
privateDnsOnlyForInboundResolverEndpoint()
Indicates whether to enable private DNS only for inbound endpoints.List<SdkField<?>>
sdkFields()
static Class<? extends DnsOptionsSpecification.Builder>
serializableBuilderClass()
DnsOptionsSpecification.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dnsRecordIpType
public final DnsRecordIpType dnsRecordIpType()
The DNS records created for the endpoint.
If the service returns an enum value that is not available in the current SDK version,
dnsRecordIpType
will returnDnsRecordIpType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdnsRecordIpTypeAsString()
.- Returns:
- The DNS records created for the endpoint.
- See Also:
DnsRecordIpType
-
dnsRecordIpTypeAsString
public final String dnsRecordIpTypeAsString()
The DNS records created for the endpoint.
If the service returns an enum value that is not available in the current SDK version,
dnsRecordIpType
will returnDnsRecordIpType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdnsRecordIpTypeAsString()
.- Returns:
- The DNS records created for the endpoint.
- See Also:
DnsRecordIpType
-
privateDnsOnlyForInboundResolverEndpoint
public final 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.
- Returns:
- 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.
-
toBuilder
public DnsOptionsSpecification.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DnsOptionsSpecification.Builder,DnsOptionsSpecification>
-
builder
public static DnsOptionsSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends DnsOptionsSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-