public static class ChangeRequest.Builder extends ChangeRequestInfo.Builder
ChangeRequest
s.Modifier and Type | Method and Description |
---|---|
ChangeRequest.Builder |
add(RecordSet recordSet)
Adds a
RecordSet to be added to the zone upon executing this ChangeRequestInfo . |
ChangeRequest |
build()
Creates a
ChangeRequestInfo instance populated by the values associated with this
builder. |
ChangeRequest.Builder |
clearAdditions()
Clears the collection of
RecordSet s which are to be added to the zone upon executing
this ChangeRequestInfo . |
ChangeRequest.Builder |
clearDeletions()
Clears the collection of
RecordSet s which are to be deleted from the zone upon
executing this ChangeRequestInfo . |
ChangeRequest.Builder |
delete(RecordSet recordSet)
Adds a
RecordSet to be deleted to the zone upon executing this
ChangeRequestInfo . |
ChangeRequest.Builder |
removeAddition(RecordSet recordSet)
Removes a single
RecordSet from the collection of records to be
added to the zone upon executing this ChangeRequestInfo . |
ChangeRequest.Builder |
removeDeletion(RecordSet recordSet)
Removes a single
RecordSet from the collection of records to be
deleted from the zone upon executing this ChangeRequestInfo . |
ChangeRequest.Builder |
setAdditions(List<RecordSet> additions)
Sets a collection of
RecordSet s which are to be added to the zone upon executing this
ChangeRequestInfo . |
ChangeRequest.Builder |
setDeletions(List<RecordSet> deletions)
Sets a collection of
RecordSet s which are to be deleted from the zone upon executing
this ChangeRequestInfo . |
public ChangeRequest.Builder setAdditions(List<RecordSet> additions)
ChangeRequestInfo.Builder
RecordSet
s which are to be added to the zone upon executing this
ChangeRequestInfo
.setAdditions
in class ChangeRequestInfo.Builder
public ChangeRequest.Builder setDeletions(List<RecordSet> deletions)
ChangeRequestInfo.Builder
RecordSet
s which are to be deleted from the zone upon executing
this ChangeRequestInfo
.setDeletions
in class ChangeRequestInfo.Builder
public ChangeRequest.Builder add(RecordSet recordSet)
ChangeRequestInfo.Builder
RecordSet
to be added to the zone upon executing this ChangeRequestInfo
.add
in class ChangeRequestInfo.Builder
public ChangeRequest.Builder delete(RecordSet recordSet)
ChangeRequestInfo.Builder
RecordSet
to be deleted to the zone upon executing this
ChangeRequestInfo
.delete
in class ChangeRequestInfo.Builder
public ChangeRequest.Builder clearAdditions()
ChangeRequestInfo.Builder
RecordSet
s which are to be added to the zone upon executing
this ChangeRequestInfo
.clearAdditions
in class ChangeRequestInfo.Builder
public ChangeRequest.Builder clearDeletions()
ChangeRequestInfo.Builder
RecordSet
s which are to be deleted from the zone upon
executing this ChangeRequestInfo
.clearDeletions
in class ChangeRequestInfo.Builder
public ChangeRequest.Builder removeAddition(RecordSet recordSet)
ChangeRequestInfo.Builder
RecordSet
from the collection of records to be
added to the zone upon executing this ChangeRequestInfo
.removeAddition
in class ChangeRequestInfo.Builder
public ChangeRequest.Builder removeDeletion(RecordSet recordSet)
ChangeRequestInfo.Builder
RecordSet
from the collection of records to be
deleted from the zone upon executing this ChangeRequestInfo
.removeDeletion
in class ChangeRequestInfo.Builder
public ChangeRequest build()
ChangeRequestInfo.Builder
ChangeRequestInfo
instance populated by the values associated with this
builder.build
in class ChangeRequestInfo.Builder
Copyright © 2019 Google LLC. All rights reserved.