Package com.google.cloud.dns
Class ChangeRequestInfo
- java.lang.Object
-
- com.google.cloud.dns.ChangeRequestInfo
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChangeRequest
public class ChangeRequestInfo extends Object implements Serializable
A class representing an atomic update to a collection ofRecordSets within aZone.- See Also:
- Google Cloud DNS documentation, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChangeRequestInfo.BuilderA builder forChangeRequestInfo.static classChangeRequestInfo.StatusThis enumerates the possible states of a change request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<RecordSet>getAdditions()Returns the list ofRecordSets to be added to the zone upon submitting this change request.List<RecordSet>getDeletions()Returns the list ofRecordSets to be deleted from the zone upon submitting this change request.StringgetGeneratedId()Returns the service-generated id for this change request.LonggetStartTimeMillis()Returns the time when this change request was started by the server.ChangeRequestInfo.StatusgetStatus()Returns the status of this change request.inthashCode()static ChangeRequestInfo.BuildernewBuilder()Returns an empty builder for theChangeRequestInfoclass.ChangeRequestInfo.Statusstatus()Returns the status of this change request.ChangeRequestInfo.BuildertoBuilder()Creates a builder populated with values of thisChangeRequestInfo.StringtoString()
-
-
-
Method Detail
-
newBuilder
public static ChangeRequestInfo.Builder newBuilder()
Returns an empty builder for theChangeRequestInfoclass.
-
toBuilder
public ChangeRequestInfo.Builder toBuilder()
Creates a builder populated with values of thisChangeRequestInfo.
-
getAdditions
public List<RecordSet> getAdditions()
Returns the list ofRecordSets to be added to the zone upon submitting this change request.
-
getDeletions
public List<RecordSet> getDeletions()
Returns the list ofRecordSets to be deleted from the zone upon submitting this change request.
-
getGeneratedId
public String getGeneratedId()
Returns the service-generated id for this change request.
-
getStartTimeMillis
public Long getStartTimeMillis()
Returns the time when this change request was started by the server.
-
status
public ChangeRequestInfo.Status status()
Returns the status of this change request. If the change request has not been applied yet, the status isPENDING.
-
getStatus
public ChangeRequestInfo.Status getStatus()
Returns the status of this change request. If the change request has not been applied yet, the status isPENDING.
-
-