Class ChangeRequest.Builder (2.51.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
Name Description
recordSet RecordSet
Returns
Type Description
ChangeRequest.Builder
Overrides

build()

public ChangeRequest build()

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

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
recordSet RecordSet
Returns
Type Description
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
Name Description
recordSet RecordSet
Returns
Type Description
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
Name Description
recordSet RecordSet
Returns
Type Description
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
Name Description
additions List<RecordSet>
Returns
Type Description
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
Name Description
deletions List<RecordSet>
Returns
Type Description
ChangeRequest.Builder
Overrides