@Generated(value="software.amazon.awssdk:codegen") public final class DnsRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DnsRecord.Builder,DnsRecord>
A DNS record uploaded to your DNS provider.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DnsRecord.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DnsRecord.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostname()
The DNS hostname.- For example,
domain.example.com. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DnsRecord.Builder> |
serializableBuilderClass() |
DnsRecord.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The RFC 1035 record type.
|
String |
value()
The value returned by the DNS for a query to that hostname and record type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String type()
The RFC 1035 record type. Possible values: CNAME, A, MX.
CNAME, A, MX.public final String hostname()
The DNS hostname.- For example, domain.example.com.
domain.example.com.public final String value()
The value returned by the DNS for a query to that hostname and record type.
public DnsRecord.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DnsRecord.Builder,DnsRecord>public static DnsRecord.Builder builder()
public static Class<? extends DnsRecord.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.