public final class LicenseCode 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 |
|---|
LicenseCode() |
| Modifier and Type | Method and Description |
|---|---|
LicenseCode |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
[Output Only] Description of this License Code.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of resource.
|
List<LicenseCodeLicenseAlias> |
getLicenseAlias()
[Output Only] URL and description aliases of Licenses with the same License Code.
|
String |
getName()
[Output Only] Name of the resource.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getState()
[Output Only] Current state of this License Code.
|
Boolean |
getTransferable()
[Output Only] If true, the license will remain attached when creating images or snapshots from
disks.
|
LicenseCode |
set(String fieldName,
Object value) |
LicenseCode |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
LicenseCode |
setDescription(String description)
[Output Only] Description of this License Code.
|
LicenseCode |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
LicenseCode |
setKind(String kind)
[Output Only] Type of resource.
|
LicenseCode |
setLicenseAlias(List<LicenseCodeLicenseAlias> licenseAlias)
[Output Only] URL and description aliases of Licenses with the same License Code.
|
LicenseCode |
setName(String name)
[Output Only] Name of the resource.
|
LicenseCode |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
LicenseCode |
setState(String state)
[Output Only] Current state of this License Code.
|
LicenseCode |
setTransferable(Boolean transferable)
[Output Only] If true, the license will remain attached when creating images or snapshots from
disks.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreationTimestamp()
null for nonepublic LicenseCode setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic LicenseCode setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic LicenseCode setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic LicenseCode setKind(String kind)
kind - kind or null for nonepublic List<LicenseCodeLicenseAlias> getLicenseAlias()
null for nonepublic LicenseCode setLicenseAlias(List<LicenseCodeLicenseAlias> licenseAlias)
licenseAlias - licenseAlias or null for nonepublic String getName()
null for nonepublic LicenseCode setName(String name)
name - name or null for nonepublic String getSelfLink()
null for nonepublic LicenseCode setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getState()
null for nonepublic LicenseCode setState(String state)
state - state or null for nonepublic Boolean getTransferable()
null for nonepublic LicenseCode setTransferable(Boolean transferable)
transferable - transferable or null for nonepublic LicenseCode set(String fieldName, Object value)
set in class GenericJsonpublic LicenseCode clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.