Class ResourceRecord
- java.lang.Object
-
- software.amazon.awssdk.services.route53.model.ResourceRecord
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceRecord.Builder,ResourceRecord>
@Generated("software.amazon.awssdk:codegen") public final class ResourceRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceRecord.Builder,ResourceRecord>
Information specific to the resource record.
If you're creating an alias resource record set, omit
ResourceRecord.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceRecord.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceRecord.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ResourceRecord.Builder>serializableBuilderClass()ResourceRecord.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The current or new DNS record value, not to exceed 4,000 characters.-
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
-
value
public final String value()
The current or new DNS record value, not to exceed 4,000 characters. In the case of a
DELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.If you're creating an alias resource record set, omit
Value.- Returns:
- The current or new DNS record value, not to exceed 4,000 characters. In the case of a
DELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.If you're creating an alias resource record set, omit
Value.
-
toBuilder
public ResourceRecord.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceRecord.Builder,ResourceRecord>
-
builder
public static ResourceRecord.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceRecord.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-