@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class Record extends Object
A DNS resource record. For more information, see Supported DNS Resource Record Types.
Note: Objects should always be created or deserialized using the Record.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the Record.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
Record.Builder |
Constructor and Description |
---|
Record(String domain,
String recordHash,
Boolean isProtected,
String rdata,
String rrsetVersion,
String rtype,
Integer ttl)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Record.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getDomain()
The fully qualified domain name where the record can be located.
|
Boolean |
getIsProtected()
A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
|
String |
getRdata()
The record’s data, as whitespace-delimited tokens in type-specific presentation format.
|
String |
getRecordHash()
A unique identifier for the record within its zone.
|
String |
getRrsetVersion()
The latest version of the record’s zone in which its RRSet differs from the preceding version.
|
String |
getRtype()
The canonical name for the record’s type, such as A or CNAME.
|
Integer |
getTtl()
The Time To Live for the record, in seconds.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"domain","recordHash","isProtected","rdata","rrsetVersion","rtype","ttl"}) @Deprecated public Record(String domain, String recordHash, Boolean isProtected, String rdata, String rrsetVersion, String rtype, Integer ttl)
public static Record.Builder builder()
Create a new builder.
public String getDomain()
The fully qualified domain name where the record can be located.
public String getRecordHash()
A unique identifier for the record within its zone.
public Boolean getIsProtected()
A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
public String getRdata()
The record’s data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see Supported DNS Resource Record Types
public String getRrsetVersion()
The latest version of the record’s zone in which its RRSet differs from the preceding version.
public String getRtype()
The canonical name for the record’s type, such as A or CNAME. For more information, see Resource Record (RR) TYPEs.
public Integer getTtl()
The Time To Live for the record, in seconds.
Copyright © 2016–2020. All rights reserved.