public final class License extends GenericJson
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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
License()  | 
| Modifier and Type | Method and Description | 
|---|---|
License | 
clone()  | 
Boolean | 
getChargesUseFee()
[Output Only] Deprecated. 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
String | 
getDescription()
An optional textual description of the resource; provided by the client when the resource is
 created. 
 | 
BigInteger | 
getId()
[Output Only] The unique identifier for the resource. 
 | 
String | 
getKind()
[Output Only] Type of resource. 
 | 
BigInteger | 
getLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks. 
 | 
String | 
getName()
Name of the resource. 
 | 
LicenseResourceRequirements | 
getResourceRequirements()  | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
String | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
Boolean | 
getTransferable()
If false, licenses will not be copied from the source resource when creating an image from a
 disk, disk from snapshot, or snapshot from disk. 
 | 
License | 
set(String fieldName,
   Object value)  | 
License | 
setChargesUseFee(Boolean chargesUseFee)
[Output Only] Deprecated. 
 | 
License | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
License | 
setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
 created. 
 | 
License | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
License | 
setKind(String kind)
[Output Only] Type of resource. 
 | 
License | 
setLicenseCode(BigInteger licenseCode)
[Output Only] The unique code used to attach this license to images, snapshots, and disks. 
 | 
License | 
setName(String name)
Name of the resource. 
 | 
License | 
setResourceRequirements(LicenseResourceRequirements resourceRequirements)  | 
License | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
License | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
License | 
setTransferable(Boolean transferable)
If false, licenses will not be copied from the source resource when creating an image from a
 disk, disk from snapshot, or snapshot from disk. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getChargesUseFee()
null for nonepublic License setChargesUseFee(Boolean chargesUseFee)
chargesUseFee - chargesUseFee or null for nonepublic String getCreationTimestamp()
null for nonepublic License setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic License setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic License setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic License setKind(String kind)
kind - kind or null for nonepublic BigInteger getLicenseCode()
null for nonepublic License setLicenseCode(BigInteger licenseCode)
licenseCode - licenseCode or null for nonepublic String getName()
null for nonepublic License setName(String name)
name - name or null for nonepublic LicenseResourceRequirements getResourceRequirements()
null for nonepublic License setResourceRequirements(LicenseResourceRequirements resourceRequirements)
resourceRequirements - resourceRequirements or null for nonepublic String getSelfLink()
null for nonepublic License setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic License setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic Boolean getTransferable()
null for nonepublic License setTransferable(Boolean transferable)
transferable - transferable or null for nonepublic License set(String fieldName, Object value)
set in class GenericJsonpublic License clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.