All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dns.model.Change.html Maven / Gradle / Ivy

There is a newer version: v2-rev20220505-1.32.1
Show newest version






Change (Cloud DNS API v1-rev20240118-2.0.0)












com.google.api.services.dns.model

Class Change

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • Change

        public Change()
    • 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
      • setKind

        public Change setKind(String kind)
        Parameters:
        kind - kind 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