Class Record
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dns.model.Record
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class Record extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA DNS resource record.For more information, see Supported DNS Resource Record Types.
Note: Objects should always be created or deserialized using theRecord.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 theRecord.Builder, which maintain a set of all explicitly set fields calledRecord.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecord.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Record.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDomain()The fully qualified domain name where the record can be located.BooleangetIsProtected()A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.StringgetRdata()The record’s data, as whitespace-delimited tokens in type-specific presentation format.StringgetRecordHash()A unique identifier for the record within its zone.StringgetRrsetVersion()The latest version of the record’s zone in which its RRSet differs from the preceding version.StringgetRtype()The type of DNS record, such as A or CNAME.IntegergetTtl()The Time To Live for the record, in seconds.inthashCode()Record.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Record
@Deprecated @ConstructorProperties({"domain","recordHash","isProtected","rdata","rrsetVersion","rtype","ttl"}) public Record(String domain, String recordHash, Boolean isProtected, String rdata, String rrsetVersion, String rtype, Integer ttl)
Deprecated.
-
-
Method Detail
-
builder
public static Record.Builder builder()
Create a new builder.
-
toBuilder
public Record.Builder toBuilder()
-
getDomain
public String getDomain()
The fully qualified domain name where the record can be located.- Returns:
- the value
-
getRecordHash
public String getRecordHash()
A unique identifier for the record within its zone.- Returns:
- the value
-
getIsProtected
public Boolean getIsProtected()
A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.- Returns:
- the value
-
getRdata
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
- Returns:
- the value
-
getRrsetVersion
public String getRrsetVersion()
The latest version of the record’s zone in which its RRSet differs from the preceding version.- Returns:
- the value
-
getRtype
public String getRtype()
The type of DNS record, such as A or CNAME.For more information, see Resource Record (RR) TYPEs.
- Returns:
- the value
-
getTtl
public Integer getTtl()
The Time To Live for the record, in seconds.Using a TTL lower than 30 seconds is not recommended.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-