@Generated(value="software.amazon.awssdk:codegen") public final class ResourceRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceRecord.Builder,ResourceRecord>
Contains a DNS record value that you can use to can use to validate ownership or control of a domain. This is used by the DescribeCertificate action.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceRecord.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceRecord.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the DNS record to create in your domain.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceRecord.Builder> |
serializableBuilderClass() |
ResourceRecord.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
RecordType |
type()
The type of DNS record.
|
String |
typeAsString()
The type of DNS record.
|
String |
value()
The value of the CNAME record to add to your DNS database.
|
copy
public String name()
The name of the DNS record to create in your domain. This is supplied by ACM.
public RecordType type()
The type of DNS record. Currently this can be CNAME
.
If the service returns an enum value that is not available in the current SDK version, type
will return
RecordType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
CNAME
.RecordType
public String typeAsString()
The type of DNS record. Currently this can be CNAME
.
If the service returns an enum value that is not available in the current SDK version, type
will return
RecordType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
CNAME
.RecordType
public String value()
The value of the CNAME record to add to your DNS database. This is supplied by ACM.
public ResourceRecord.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceRecord.Builder,ResourceRecord>
public static ResourceRecord.Builder builder()
public static Class<? extends ResourceRecord.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.