Package com.oracle.bmc.dns.model
Class MigrationReplacement.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.MigrationReplacement.Builder
-
- Enclosing class:
- MigrationReplacement
public static class MigrationReplacement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationReplacement
build()
MigrationReplacement.Builder
copy(MigrationReplacement model)
MigrationReplacement.Builder
rdata(String rdata)
The record data of the replacement record, as whitespace-delimited tokens in type-specific presentation format.MigrationReplacement.Builder
rtype(String rtype)
The type of DNS record, such as A or CNAME.MigrationReplacement.Builder
substituteRtype(String substituteRtype)
The canonical name for a substitute type of the replacement record to be used if the specified rtype is not allowed at the domain.MigrationReplacement.Builder
ttl(Integer ttl)
The Time To Live of the replacement record, in seconds.
-
-
-
Method Detail
-
rtype
public MigrationReplacement.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
-
substituteRtype
public MigrationReplacement.Builder substituteRtype(String substituteRtype)
The canonical name for a substitute type of the replacement record to be used if the specified rtype is not allowed at the domain.The specified ttl and rdata will still apply with the substitute type.
- Parameters:
substituteRtype
- the value to set- Returns:
- this builder
-
ttl
public MigrationReplacement.Builder ttl(Integer ttl)
The Time To Live of the replacement record, in seconds.- Parameters:
ttl
- the value to set- Returns:
- this builder
-
rdata
public MigrationReplacement.Builder rdata(String rdata)
The record data of the replacement record, as whitespace-delimited tokens in type-specific presentation format.- Parameters:
rdata
- the value to set- Returns:
- this builder
-
build
public MigrationReplacement build()
-
copy
public MigrationReplacement.Builder copy(MigrationReplacement model)
-
-