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 ofRecordSet
s within aZone
.- See Also:
- Google Cloud DNS documentation, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeRequestInfo.Builder
A builder forChangeRequestInfo
.static class
ChangeRequestInfo.Status
This enumerates the possible states of a change request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<RecordSet>
getAdditions()
Returns the list ofRecordSet
s to be added to the zone upon submitting this change request.List<RecordSet>
getDeletions()
Returns the list ofRecordSet
s to be deleted from the zone upon submitting this change request.String
getGeneratedId()
Returns the service-generated id for this change request.Long
getStartTimeMillis()
Returns the time when this change request was started by the server.ChangeRequestInfo.Status
getStatus()
Returns the status of this change request.int
hashCode()
static ChangeRequestInfo.Builder
newBuilder()
Returns an empty builder for theChangeRequestInfo
class.ChangeRequestInfo.Status
status()
Returns the status of this change request.ChangeRequestInfo.Builder
toBuilder()
Creates a builder populated with values of thisChangeRequestInfo
.String
toString()
-
-
-
Method Detail
-
newBuilder
public static ChangeRequestInfo.Builder newBuilder()
Returns an empty builder for theChangeRequestInfo
class.
-
toBuilder
public ChangeRequestInfo.Builder toBuilder()
Creates a builder populated with values of thisChangeRequestInfo
.
-
getAdditions
public List<RecordSet> getAdditions()
Returns the list ofRecordSet
s to be added to the zone upon submitting this change request.
-
getDeletions
public List<RecordSet> getDeletions()
Returns the list ofRecordSet
s 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
.
-
-