Package com.google.cloud.dns
Class ChangeRequestInfo.Builder
- java.lang.Object
-
- com.google.cloud.dns.ChangeRequestInfo.Builder
-
- Direct Known Subclasses:
ChangeRequest.Builder
- Enclosing class:
- ChangeRequestInfo
public abstract static class ChangeRequestInfo.Builder extends Object
A builder forChangeRequestInfo.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ChangeRequestInfo.Builderadd(RecordSet recordSet)Adds aRecordSetto be added to the zone upon executing thisChangeRequestInfo.abstract ChangeRequestInfobuild()Creates aChangeRequestInfoinstance populated by the values associated with this builder.abstract ChangeRequestInfo.BuilderclearAdditions()Clears the collection ofRecordSets which are to be added to the zone upon executing thisChangeRequestInfo.abstract ChangeRequestInfo.BuilderclearDeletions()Clears the collection ofRecordSets which are to be deleted from the zone upon executing thisChangeRequestInfo.abstract ChangeRequestInfo.Builderdelete(RecordSet recordSet)Adds aRecordSetto be deleted to the zone upon executing thisChangeRequestInfo.abstract ChangeRequestInfo.BuilderremoveAddition(RecordSet recordSet)Removes a singleRecordSetfrom the collection of records to be added to the zone upon executing thisChangeRequestInfo.abstract ChangeRequestInfo.BuilderremoveDeletion(RecordSet recordSet)Removes a singleRecordSetfrom the collection of records to be deleted from the zone upon executing thisChangeRequestInfo.abstract ChangeRequestInfo.BuildersetAdditions(List<RecordSet> additions)Sets a collection ofRecordSets which are to be added to the zone upon executing thisChangeRequestInfo.abstract ChangeRequestInfo.BuildersetDeletions(List<RecordSet> deletions)Sets a collection ofRecordSets which are to be deleted from the zone upon executing thisChangeRequestInfo.
-
-
-
Method Detail
-
setAdditions
public abstract ChangeRequestInfo.Builder setAdditions(List<RecordSet> additions)
Sets a collection ofRecordSets which are to be added to the zone upon executing thisChangeRequestInfo.
-
setDeletions
public abstract ChangeRequestInfo.Builder setDeletions(List<RecordSet> deletions)
Sets a collection ofRecordSets which are to be deleted from the zone upon executing thisChangeRequestInfo.
-
add
public abstract ChangeRequestInfo.Builder add(RecordSet recordSet)
Adds aRecordSetto be added to the zone upon executing thisChangeRequestInfo.
-
delete
public abstract ChangeRequestInfo.Builder delete(RecordSet recordSet)
Adds aRecordSetto be deleted to the zone upon executing thisChangeRequestInfo.
-
clearAdditions
public abstract ChangeRequestInfo.Builder clearAdditions()
Clears the collection ofRecordSets which are to be added to the zone upon executing thisChangeRequestInfo.
-
clearDeletions
public abstract ChangeRequestInfo.Builder clearDeletions()
Clears the collection ofRecordSets which are to be deleted from the zone upon executing thisChangeRequestInfo.
-
removeAddition
public abstract ChangeRequestInfo.Builder removeAddition(RecordSet recordSet)
Removes a singleRecordSetfrom the collection of records to be added to the zone upon executing thisChangeRequestInfo.
-
removeDeletion
public abstract ChangeRequestInfo.Builder removeDeletion(RecordSet recordSet)
Removes a singleRecordSetfrom the collection of records to be deleted from the zone upon executing thisChangeRequestInfo.
-
build
public abstract ChangeRequestInfo build()
Creates aChangeRequestInfoinstance populated by the values associated with this builder.
-
-