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.Builder
add(RecordSet recordSet)
Adds aRecordSet
to be added to the zone upon executing thisChangeRequestInfo
.abstract ChangeRequestInfo
build()
Creates aChangeRequestInfo
instance populated by the values associated with this builder.abstract ChangeRequestInfo.Builder
clearAdditions()
Clears the collection ofRecordSet
s which are to be added to the zone upon executing thisChangeRequestInfo
.abstract ChangeRequestInfo.Builder
clearDeletions()
Clears the collection ofRecordSet
s which are to be deleted from the zone upon executing thisChangeRequestInfo
.abstract ChangeRequestInfo.Builder
delete(RecordSet recordSet)
Adds aRecordSet
to be deleted to the zone upon executing thisChangeRequestInfo
.abstract ChangeRequestInfo.Builder
removeAddition(RecordSet recordSet)
Removes a singleRecordSet
from the collection of records to be added to the zone upon executing thisChangeRequestInfo
.abstract ChangeRequestInfo.Builder
removeDeletion(RecordSet recordSet)
Removes a singleRecordSet
from the collection of records to be deleted from the zone upon executing thisChangeRequestInfo
.abstract ChangeRequestInfo.Builder
setAdditions(List<RecordSet> additions)
Sets a collection ofRecordSet
s which are to be added to the zone upon executing thisChangeRequestInfo
.abstract ChangeRequestInfo.Builder
setDeletions(List<RecordSet> deletions)
Sets a collection ofRecordSet
s 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 ofRecordSet
s which are to be added to the zone upon executing thisChangeRequestInfo
.
-
setDeletions
public abstract ChangeRequestInfo.Builder setDeletions(List<RecordSet> deletions)
Sets a collection ofRecordSet
s which are to be deleted from the zone upon executing thisChangeRequestInfo
.
-
add
public abstract ChangeRequestInfo.Builder add(RecordSet recordSet)
Adds aRecordSet
to be added to the zone upon executing thisChangeRequestInfo
.
-
delete
public abstract ChangeRequestInfo.Builder delete(RecordSet recordSet)
Adds aRecordSet
to be deleted to the zone upon executing thisChangeRequestInfo
.
-
clearAdditions
public abstract ChangeRequestInfo.Builder clearAdditions()
Clears the collection ofRecordSet
s which are to be added to the zone upon executing thisChangeRequestInfo
.
-
clearDeletions
public abstract ChangeRequestInfo.Builder clearDeletions()
Clears the collection ofRecordSet
s which are to be deleted from the zone upon executing thisChangeRequestInfo
.
-
removeAddition
public abstract ChangeRequestInfo.Builder removeAddition(RecordSet recordSet)
Removes a singleRecordSet
from the collection of records to be added to the zone upon executing thisChangeRequestInfo
.
-
removeDeletion
public abstract ChangeRequestInfo.Builder removeDeletion(RecordSet recordSet)
Removes a singleRecordSet
from the collection of records to be deleted from the zone upon executing thisChangeRequestInfo
.
-
build
public abstract ChangeRequestInfo build()
Creates aChangeRequestInfo
instance populated by the values associated with this builder.
-
-