Class ChangeRequestInfo.Builder (2.52.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
Name Description
recordSet RecordSet
Returns
Type Description
ChangeRequestInfo.Builder

build()

public abstract ChangeRequestInfo build()

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

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