public final class InstanceTemplate
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
InstanceTemplate() |
| Modifier and Type | Method and Description |
|---|---|
InstanceTemplate |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] The creation timestamp for this instance template in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.math.BigInteger |
getId()
[Output Only] A unique identifier for this instance template.
|
java.lang.String |
getKind()
[Output Only] The resource type, which is always compute#instanceTemplate for instance
templates.
|
java.lang.String |
getName()
Name of the resource; provided by the client when the resource is created.
|
InstanceProperties |
getProperties()
The instance properties for this instance template.
|
java.lang.String |
getSelfLink()
[Output Only] The URL for this instance template.
|
InstanceTemplate |
set(java.lang.String fieldName,
java.lang.Object value) |
InstanceTemplate |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] The creation timestamp for this instance template in RFC3339 text format.
|
InstanceTemplate |
setDescription(java.lang.String description)
An optional description of this resource.
|
InstanceTemplate |
setId(java.math.BigInteger id)
[Output Only] A unique identifier for this instance template.
|
InstanceTemplate |
setKind(java.lang.String kind)
[Output Only] The resource type, which is always compute#instanceTemplate for instance
templates.
|
InstanceTemplate |
setName(java.lang.String name)
Name of the resource; provided by the client when the resource is created.
|
InstanceTemplate |
setProperties(InstanceProperties properties)
The instance properties for this instance template.
|
InstanceTemplate |
setSelfLink(java.lang.String selfLink)
[Output Only] The URL for this instance template.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic InstanceTemplate setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic InstanceTemplate setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic InstanceTemplate setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic InstanceTemplate setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic InstanceTemplate setName(java.lang.String name)
name - name or null for nonepublic InstanceProperties getProperties()
null for nonepublic InstanceTemplate setProperties(InstanceProperties properties)
properties - properties or null for nonepublic java.lang.String getSelfLink()
null for nonepublic InstanceTemplate setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic InstanceTemplate set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic InstanceTemplate clone()
clone in class com.google.api.client.json.GenericJson