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

target.apidocs.com.google.api.services.compute.model.Zone.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240903-2.0.0
Show newest version






Zone (Compute Engine API v1-rev20240919-2.0.0)












com.google.api.services.compute.model

Class Zone

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


    public final class Zone
    extends com.google.api.client.json.GenericJson
    Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-b is located in the us-east1 region. For more information, read Regions and Zones.

    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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • Zone

        public Zone()
    • Method Detail

      • getAvailableCpuPlatforms

        public List<String> getAvailableCpuPlatforms()
        [Output Only] Available cpu/platform selections for the zone.
        Returns:
        value or null for none
      • setAvailableCpuPlatforms

        public Zone setAvailableCpuPlatforms(List<String> availableCpuPlatforms)
        [Output Only] Available cpu/platform selections for the zone.
        Parameters:
        availableCpuPlatforms - availableCpuPlatforms or null for none
      • getCreationTimestamp

        public String getCreationTimestamp()
        [Output Only] Creation timestamp in RFC3339 text format.
        Returns:
        value or null for none
      • setCreationTimestamp

        public Zone setCreationTimestamp(String creationTimestamp)
        [Output Only] Creation timestamp in RFC3339 text format.
        Parameters:
        creationTimestamp - creationTimestamp or null for none
      • getDeprecated

        public DeprecationStatus getDeprecated()
        [Output Only] The deprecation status associated with this zone.
        Returns:
        value or null for none
      • setDeprecated

        public Zone setDeprecated(DeprecationStatus deprecated)
        [Output Only] The deprecation status associated with this zone.
        Parameters:
        deprecated - deprecated or null for none
      • getDescription

        public String getDescription()
        [Output Only] Textual description of the resource.
        Returns:
        value or null for none
      • setDescription

        public Zone setDescription(String description)
        [Output Only] Textual description of the resource.
        Parameters:
        description - description or null for none
      • getId

        public BigInteger getId()
        [Output Only] The unique identifier for the resource. This identifier is defined by the server.
        Returns:
        value or null for none
      • setId

        public Zone setId(BigInteger id)
        [Output Only] The unique identifier for the resource. This identifier is defined by the server.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        [Output Only] Type of the resource. Always compute#zone for zones.
        Returns:
        value or null for none
      • setKind

        public Zone setKind(String kind)
        [Output Only] Type of the resource. Always compute#zone for zones.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        [Output Only] Name of the resource.
        Returns:
        value or null for none
      • setName

        public Zone setName(String name)
        [Output Only] Name of the resource.
        Parameters:
        name - name or null for none
      • getRegion

        public String getRegion()
        [Output Only] Full URL reference to the region which hosts the zone.
        Returns:
        value or null for none
      • setRegion

        public Zone setRegion(String region)
        [Output Only] Full URL reference to the region which hosts the zone.
        Parameters:
        region - region or null for none
      • getSelfLink

        public String getSelfLink()
        [Output Only] Server-defined URL for the resource.
        Returns:
        value or null for none
      • setSelfLink

        public Zone setSelfLink(String selfLink)
        [Output Only] Server-defined URL for the resource.
        Parameters:
        selfLink - selfLink or null for none
      • getStatus

        public String getStatus()
        [Output Only] Status of the zone, either UP or DOWN.
        Returns:
        value or null for none
      • setStatus

        public Zone setStatus(String status)
        [Output Only] Status of the zone, either UP or DOWN.
        Parameters:
        status - status or null for none
      • getSupportsPzs

        public Boolean getSupportsPzs()
        [Output Only] Reserved for future use.
        Returns:
        value or null for none
      • setSupportsPzs

        public Zone setSupportsPzs(Boolean supportsPzs)
        [Output Only] Reserved for future use.
        Parameters:
        supportsPzs - supportsPzs or null for none
      • set

        public Zone set(String fieldName,
                        Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Zone 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