Package com.oracle.bmc.dns.model
Class RecordDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.RecordDetails.Builder
-
- Enclosing class:
- RecordDetails
public static class RecordDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordDetailsbuild()RecordDetails.Buildercopy(RecordDetails model)RecordDetails.Builderdomain(String domain)The fully qualified domain name where the record can be located.RecordDetails.BuilderisProtected(Boolean isProtected)A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.RecordDetails.Builderrdata(String rdata)The record’s data, as whitespace-delimited tokens in type-specific presentation format.RecordDetails.BuilderrecordHash(String recordHash)A unique identifier for the record within its zone.RecordDetails.BuilderrrsetVersion(String rrsetVersion)The latest version of the record’s zone in which its RRSet differs from the preceding version.RecordDetails.Builderrtype(String rtype)The type of DNS record, such as A or CNAME.RecordDetails.Builderttl(Integer ttl)The Time To Live for the record, in seconds.
-
-
-
Method Detail
-
domain
public RecordDetails.Builder domain(String domain)
The fully qualified domain name where the record can be located.- Parameters:
domain- the value to set- Returns:
- this builder
-
recordHash
public RecordDetails.Builder recordHash(String recordHash)
A unique identifier for the record within its zone.- Parameters:
recordHash- the value to set- Returns:
- this builder
-
isProtected
public RecordDetails.Builder isProtected(Boolean isProtected)
A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.- Parameters:
isProtected- the value to set- Returns:
- this builder
-
rdata
public RecordDetails.Builder rdata(String rdata)
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
- Parameters:
rdata- the value to set- Returns:
- this builder
-
rrsetVersion
public RecordDetails.Builder rrsetVersion(String rrsetVersion)
The latest version of the record’s zone in which its RRSet differs from the preceding version.- Parameters:
rrsetVersion- the value to set- Returns:
- this builder
-
rtype
public RecordDetails.Builder rtype(String rtype)
The type of DNS record, such as A or CNAME.For more information, see Resource Record (RR) TYPEs.
- Parameters:
rtype- the value to set- Returns:
- this builder
-
ttl
public RecordDetails.Builder ttl(Integer ttl)
The Time To Live for the record, in seconds.Using a TTL lower than 30 seconds is not recommended.
- Parameters:
ttl- the value to set- Returns:
- this builder
-
build
public RecordDetails build()
-
copy
public RecordDetails.Builder copy(RecordDetails model)
-
-