public static class RecordOperation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RecordOperation |
build() |
RecordOperation.Builder |
copy(RecordOperation model) |
RecordOperation.Builder |
domain(String domain)
The fully qualified domain name where the record can be located.
|
RecordOperation.Builder |
isProtected(Boolean isProtected)
A Boolean flag indicating whether or not parts of the record are unable to be explicitly
managed.
|
RecordOperation.Builder |
operation(RecordOperation.Operation operation)
A description of how a record relates to a PATCH operation.
|
RecordOperation.Builder |
rdata(String rdata)
The record’s data, as whitespace-delimited tokens in type-specific presentation format.
|
RecordOperation.Builder |
recordHash(String recordHash)
A unique identifier for the record within its zone.
|
RecordOperation.Builder |
rrsetVersion(String rrsetVersion)
The latest version of the record’s zone in which its RRSet differs from the preceding
version.
|
RecordOperation.Builder |
rtype(String rtype)
The type of DNS record, such as A or CNAME.
|
RecordOperation.Builder |
ttl(Integer ttl)
The Time To Live for the record, in seconds.
|
public RecordOperation.Builder domain(String domain)
The fully qualified domain name where the record can be located.
domain
- the value to setpublic RecordOperation.Builder recordHash(String recordHash)
A unique identifier for the record within its zone.
recordHash
- the value to setpublic RecordOperation.Builder isProtected(Boolean isProtected)
A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
isProtected
- the value to setpublic RecordOperation.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
rdata
- the value to setpublic RecordOperation.Builder rrsetVersion(String rrsetVersion)
The latest version of the record’s zone in which its RRSet differs from the preceding version.
rrsetVersion
- the value to setpublic RecordOperation.Builder rtype(String rtype)
The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs.
rtype
- the value to setpublic RecordOperation.Builder ttl(Integer ttl)
The Time To Live for the record, in seconds. Using a TTL lower than 30 seconds is not recommended.
ttl
- the value to setpublic RecordOperation.Builder operation(RecordOperation.Operation operation)
A description of how a record relates to a PATCH operation.
- REQUIRE
indicates a precondition that record data **must** already exist. -
PROHIBIT
indicates a precondition that record data **must not** already exist. -
ADD
indicates that record data **must** exist after successful application. -
REMOVE
indicates that record data **must not** exist after successful
application.
**Note:** ADD
and REMOVE
operations can succeed even if they require
no changes when applied, such as when the described records are already present or
absent.
**Note:** ADD
and REMOVE
operations can describe changes for more than
one record.
**Example:** { "domain": "www.example.com", "rtype": "AAAA", "ttl": 60 }
specifies a new TTL for every record in the www.example.com AAAA RRSet.
operation
- the value to setpublic RecordOperation build()
public RecordOperation.Builder copy(RecordOperation model)
Copyright © 2016–2025. All rights reserved.