Class PrivateDnsNameConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.PrivateDnsNameConfiguration
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PrivateDnsNameConfiguration.Builder,PrivateDnsNameConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class PrivateDnsNameConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PrivateDnsNameConfiguration.Builder,PrivateDnsNameConfiguration>
Information about the private DNS name for the service endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PrivateDnsNameConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrivateDnsNameConfiguration.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
name()
The name of the record subdomain the service provider needs to create.List<SdkField<?>>
sdkFields()
static Class<? extends PrivateDnsNameConfiguration.Builder>
serializableBuilderClass()
DnsNameState
state()
The verification state of the VPC endpoint service.String
stateAsString()
The verification state of the VPC endpoint service.PrivateDnsNameConfiguration.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
type()
The endpoint service verification type, for example TXT.String
value()
The value the service provider adds to the private DNS name domain record before verification.-
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
-
state
public final DnsNameState state()
The verification state of the VPC endpoint service.
>Consumers of the endpoint service can use the private name only when the state is
verified
.If the service returns an enum value that is not available in the current SDK version,
state
will returnDnsNameState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The verification state of the VPC endpoint service.
>Consumers of the endpoint service can use the private name only when the state is
verified
. - See Also:
DnsNameState
-
stateAsString
public final String stateAsString()
The verification state of the VPC endpoint service.
>Consumers of the endpoint service can use the private name only when the state is
verified
.If the service returns an enum value that is not available in the current SDK version,
state
will returnDnsNameState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The verification state of the VPC endpoint service.
>Consumers of the endpoint service can use the private name only when the state is
verified
. - See Also:
DnsNameState
-
type
public final String type()
The endpoint service verification type, for example TXT.
- Returns:
- The endpoint service verification type, for example TXT.
-
value
public final String value()
The value the service provider adds to the private DNS name domain record before verification.
- Returns:
- The value the service provider adds to the private DNS name domain record before verification.
-
name
public final String name()
The name of the record subdomain the service provider needs to create. The service provider adds the
value
text to thename
.- Returns:
- The name of the record subdomain the service provider needs to create. The service provider adds the
value
text to thename
.
-
toBuilder
public PrivateDnsNameConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PrivateDnsNameConfiguration.Builder,PrivateDnsNameConfiguration>
-
builder
public static PrivateDnsNameConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PrivateDnsNameConfiguration.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.
-
-