Class DnsRecord
- java.lang.Object
-
- software.amazon.awssdk.services.workmail.model.DnsRecord
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DnsRecord.Builder,DnsRecord>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDnsRecord.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DnsRecord.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhostname()The DNS hostname.- For example,domain.example.com.List<SdkField<?>>sdkFields()static Class<? extends DnsRecord.Builder>serializableBuilderClass()DnsRecord.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The RFC 1035 record type.Stringvalue()The value returned by the DNS for a query to that hostname and record type.-
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
-
type
public final String type()
The RFC 1035 record type. Possible values:
CNAME,A,MX.- Returns:
- The RFC 1035 record type. Possible values:
CNAME,A,MX.
-
hostname
public final String hostname()
The DNS hostname.- For example,
domain.example.com.- Returns:
- The DNS hostname.- For example,
domain.example.com.
-
value
public final String value()
The value returned by the DNS for a query to that hostname and record type.
- Returns:
- The value returned by the DNS for a query to that hostname and record type.
-
toBuilder
public DnsRecord.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DnsRecord.Builder,DnsRecord>
-
builder
public static DnsRecord.Builder builder()
-
serializableBuilderClass
public static Class<? extends DnsRecord.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.
-
-