target.apidocs.com.google.api.services.dns.model.Change.html Maven / Gradle / Ivy
Change (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns.model
Class Change
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dns.model.Change
-
public final class Change
extends com.google.api.client.json.GenericJson
A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a
ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change
element in the Changes collection. In turn the Changes collection also records the past
modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
the sum effect of applying all Change elements in the Changes collection in sequence.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Cloud DNS API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Change()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Change
clone()
List<ResourceRecordSet>
getAdditions()
Which ResourceRecordSets to add?
List<ResourceRecordSet>
getDeletions()
Which ResourceRecordSets to remove? Must match existing data exactly.
String
getId()
Unique identifier for the resource; defined by the server (output only).
Boolean
getIsServing()
If the DNS queries for the zone will be served.
String
getKind()
String
getStartTime()
The time that this operation was started by the server (output only).
String
getStatus()
Status of the operation (output only).
Change
set(String fieldName,
Object value)
Change
setAdditions(List<ResourceRecordSet> additions)
Which ResourceRecordSets to add?
Change
setDeletions(List<ResourceRecordSet> deletions)
Which ResourceRecordSets to remove? Must match existing data exactly.
Change
setId(String id)
Unique identifier for the resource; defined by the server (output only).
Change
setIsServing(Boolean isServing)
If the DNS queries for the zone will be served.
Change
setKind(String kind)
Change
setStartTime(String startTime)
The time that this operation was started by the server (output only).
Change
setStatus(String status)
Status of the operation (output only).
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAdditions
public List<ResourceRecordSet> getAdditions()
Which ResourceRecordSets to add?
- Returns:
- value or
null
for none
-
setAdditions
public Change setAdditions(List<ResourceRecordSet> additions)
Which ResourceRecordSets to add?
- Parameters:
additions
- additions or null
for none
-
getDeletions
public List<ResourceRecordSet> getDeletions()
Which ResourceRecordSets to remove? Must match existing data exactly.
- Returns:
- value or
null
for none
-
setDeletions
public Change setDeletions(List<ResourceRecordSet> deletions)
Which ResourceRecordSets to remove? Must match existing data exactly.
- Parameters:
deletions
- deletions or null
for none
-
getId
public String getId()
Unique identifier for the resource; defined by the server (output only).
- Returns:
- value or
null
for none
-
setId
public Change setId(String id)
Unique identifier for the resource; defined by the server (output only).
- Parameters:
id
- id or null
for none
-
getIsServing
public Boolean getIsServing()
If the DNS queries for the zone will be served.
- Returns:
- value or
null
for none
-
setIsServing
public Change setIsServing(Boolean isServing)
If the DNS queries for the zone will be served.
- Parameters:
isServing
- isServing or null
for none
-
getKind
public String getKind()
- Returns:
- value or
null
for none
-
getStartTime
public String getStartTime()
The time that this operation was started by the server (output only). This is in RFC3339 text
format.
- Returns:
- value or
null
for none
-
setStartTime
public Change setStartTime(String startTime)
The time that this operation was started by the server (output only). This is in RFC3339 text
format.
- Parameters:
startTime
- startTime or null
for none
-
getStatus
public String getStatus()
Status of the operation (output only). A status of "done" means that the request to update the
authoritative servers has been sent, but the servers might not be updated yet.
- Returns:
- value or
null
for none
-
setStatus
public Change setStatus(String status)
Status of the operation (output only). A status of "done" means that the request to update the
authoritative servers has been sent, but the servers might not be updated yet.
- Parameters:
status
- status or null
for none
-
set
public Change set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Change clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy