Class ChangeRequest.Builder (2.14.0)

public static class ChangeRequest.Builder extends ChangeRequestInfo.Builder

A builder for ChangeRequests.

Inheritance

java.lang.Object > ChangeRequestInfo.Builder > ChangeRequest.Builder

Methods

add(RecordSet recordSet)

public ChangeRequest.Builder add(RecordSet recordSet)

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

Parameter
NameDescription
recordSetRecordSet
Returns
TypeDescription
ChangeRequest.Builder
Overrides

build()

public ChangeRequest build()

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

Returns
TypeDescription
ChangeRequest
Overrides

clearAdditions()

public ChangeRequest.Builder clearAdditions()

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

Returns
TypeDescription
ChangeRequest.Builder
Overrides

clearDeletions()

public ChangeRequest.Builder clearDeletions()

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

Returns
TypeDescription
ChangeRequest.Builder
Overrides

delete(RecordSet recordSet)

public ChangeRequest.Builder delete(RecordSet recordSet)

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

Parameter
NameDescription
recordSetRecordSet
Returns
TypeDescription
ChangeRequest.Builder
Overrides

removeAddition(RecordSet recordSet)

public ChangeRequest.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
ChangeRequest.Builder
Overrides

removeDeletion(RecordSet recordSet)

public ChangeRequest.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
ChangeRequest.Builder
Overrides

setAdditions(List<RecordSet> additions)

public ChangeRequest.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
ChangeRequest.Builder
Overrides

setDeletions(List<RecordSet> deletions)

public ChangeRequest.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
ChangeRequest.Builder
Overrides