@Generated(value="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. For more information about these parameters, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
PrivateDnsNameConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static PrivateDnsNameConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
copy
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 return
DnsNameState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
>Consumers of the endpoint service can use the private name only when the state is
verified
.
DnsNameState
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 return
DnsNameState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
>Consumers of the endpoint service can use the private name only when the state is
verified
.
DnsNameState
public final String type()
The endpoint service verification type, for example TXT.
public final String value()
The value the service provider adds to the private DNS name domain record before verification.
public final String name()
The name of the record subdomain the service provider needs to create. The service provider adds the
value
text to the name
.
value
text to the name
.public PrivateDnsNameConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PrivateDnsNameConfiguration.Builder,PrivateDnsNameConfiguration>
public static PrivateDnsNameConfiguration.Builder builder()
public static Class<? extends PrivateDnsNameConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()