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

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

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






LicenseCode (Compute Engine API v1-rev20240919-2.0.0)












com.google.api.services.compute.model

Class LicenseCode

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


    public final class LicenseCode
    extends com.google.api.client.json.GenericJson
    Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

    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

      • LicenseCode

        public LicenseCode()
    • Method Detail

      • getCreationTimestamp

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

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

        public String getDescription()
        [Output Only] Description of this License Code.
        Returns:
        value or null for none
      • setDescription

        public LicenseCode setDescription(String description)
        [Output Only] Description of this License Code.
        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 LicenseCode 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 resource. Always compute#licenseCode for licenses.
        Returns:
        value or null for none
      • setKind

        public LicenseCode setKind(String kind)
        [Output Only] Type of resource. Always compute#licenseCode for licenses.
        Parameters:
        kind - kind or null for none
      • getLicenseAlias

        public List<LicenseCodeLicenseAlias> getLicenseAlias()
        [Output Only] URL and description aliases of Licenses with the same License Code.
        Returns:
        value or null for none
      • setLicenseAlias

        public LicenseCode setLicenseAlias(List<LicenseCodeLicenseAlias> licenseAlias)
        [Output Only] URL and description aliases of Licenses with the same License Code.
        Parameters:
        licenseAlias - licenseAlias or null for none
      • getName

        public String getName()
        [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.
        Returns:
        value or null for none
      • setName

        public LicenseCode setName(String name)
        [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.
        Parameters:
        name - name or null for none
      • getSelfLink

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

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

        public String getState()
        [Output Only] Current state of this License Code.
        Returns:
        value or null for none
      • setState

        public LicenseCode setState(String state)
        [Output Only] Current state of this License Code.
        Parameters:
        state - state or null for none
      • getTransferable

        public Boolean getTransferable()
        [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.
        Returns:
        value or null for none
      • setTransferable

        public LicenseCode setTransferable(Boolean transferable)
        [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.
        Parameters:
        transferable - transferable or null for none
      • set

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

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