@Generated(value="software.amazon.awssdk:codegen") public class ResourceRecord extends Object implements ToCopyableBuilder<ResourceRecord.Builder,ResourceRecord>
Information specific to the resource record.
If you're creating an alias resource record set, omit ResourceRecord
.
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() |
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() |
String |
value()
The current or new DNS record value, not to exceed 4,000 characters.
|
copy
public String value()
The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE
action,
if the current value does not match the actual value, an error is returned. For descriptions about how to format
Value
for different record types, see Supported DNS Resource
Record Types in the Amazon Route 53 Developer Guide.
You can specify more than one value for all record types except CNAME
and SOA
.
If you're creating an alias resource record set, omit Value
.
DELETE
action, if the current value does not match the actual value, an error is returned. For descriptions
about how to format Value
for different record types, see Supported DNS
Resource Record Types in the Amazon Route 53 Developer Guide.
You can specify more than one value for all record types except CNAME
and SOA
.
If you're creating an alias resource record set, omit Value
.
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.