Class ChangeRequestInfo.Builder (2.4.0)

public abstract static class ChangeRequestInfo.Builder

A builder for ChangeRequestInfo.

Inheritance

java.lang.Object > ChangeRequestInfo.Builder

Constructors

Builder()

public Builder()

Methods

add(RecordSet recordSet)

public abstract ChangeRequestInfo.Builder add(RecordSet recordSet)

Adds a RecordSet to be added to the zone upon executing this ChangeRequestInfo.

Parameter
NameDescription
recordSetRecordSet
Returns
TypeDescription
ChangeRequestInfo.Builder

build()

public abstract ChangeRequestInfo build()

Creates a ChangeRequestInfo instance populated by the values associated with this builder.

Returns
TypeDescription
ChangeRequestInfo

clearAdditions()

public abstract ChangeRequestInfo.Builder clearAdditions()

Clears the collection of RecordSets which are to be added to the zone upon executing this ChangeRequestInfo.

Returns
TypeDescription
ChangeRequestInfo.Builder

clearDeletions()

public abstract ChangeRequestInfo.Builder clearDeletions()

Clears the collection of RecordSets which are to be deleted from the zone upon executing this ChangeRequestInfo.

Returns
TypeDescription
ChangeRequestInfo.Builder

delete(RecordSet recordSet)

public abstract ChangeRequestInfo.Builder delete(RecordSet recordSet)

Adds a RecordSet to be deleted to the zone upon executing this ChangeRequestInfo.

Parameter
NameDescription
recordSetRecordSet
Returns
TypeDescription
ChangeRequestInfo.Builder

removeAddition(RecordSet recordSet)

public abstract ChangeRequestInfo.Builder removeAddition(RecordSet recordSet)

Removes a single RecordSet from the collection of records to be added to the zone upon executing this ChangeRequestInfo.

Parameter
NameDescription
recordSetRecordSet
Returns
TypeDescription
ChangeRequestInfo.Builder

removeDeletion(RecordSet recordSet)

public abstract ChangeRequestInfo.Builder removeDeletion(RecordSet recordSet)

Removes a single RecordSet from the collection of records to be deleted from the zone upon executing this ChangeRequestInfo.

Parameter
NameDescription
recordSetRecordSet
Returns
TypeDescription
ChangeRequestInfo.Builder

setAdditions(List<RecordSet> additions)

public abstract ChangeRequestInfo.Builder setAdditions(List<RecordSet> additions)

Sets a collection of RecordSets which are to be added to the zone upon executing this ChangeRequestInfo.

Parameter
NameDescription
additionsList<RecordSet>
Returns
TypeDescription
ChangeRequestInfo.Builder

setDeletions(List<RecordSet> deletions)

public abstract ChangeRequestInfo.Builder setDeletions(List<RecordSet> deletions)

Sets a collection of RecordSets which are to be deleted from the zone upon executing this ChangeRequestInfo.

Parameter
NameDescription
deletionsList<RecordSet>
Returns
TypeDescription
ChangeRequestInfo.Builder