public final class InstanceTemplate 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 | 
|---|
| InstanceTemplate() | 
| Modifier and Type | Method and Description | 
|---|---|
| InstanceTemplate | clone() | 
| String | getCreationTimestamp()[Output Only] The creation timestamp for this instance template in RFC3339 text format. | 
| String | getDescription()An optional description of this resource. | 
| BigInteger | getId()[Output Only] A unique identifier for this instance template. | 
| String | getKind()[Output Only] The resource type, which is always compute#instanceTemplate for instance
 templates. | 
| String | getName()Name of the resource; provided by the client when the resource is created. | 
| InstanceProperties | getProperties()The instance properties for this instance template. | 
| String | getSelfLink()[Output Only] The URL for this instance template. | 
| String | getSourceInstance()The source instance used to create the template. | 
| SourceInstanceParams | getSourceInstanceParams()The source instance params to use to create this instance template. | 
| InstanceTemplate | set(String fieldName,
   Object value) | 
| InstanceTemplate | setCreationTimestamp(String creationTimestamp)[Output Only] The creation timestamp for this instance template in RFC3339 text format. | 
| InstanceTemplate | setDescription(String description)An optional description of this resource. | 
| InstanceTemplate | setId(BigInteger id)[Output Only] A unique identifier for this instance template. | 
| InstanceTemplate | setKind(String kind)[Output Only] The resource type, which is always compute#instanceTemplate for instance
 templates. | 
| InstanceTemplate | setName(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(String selfLink)[Output Only] The URL for this instance template. | 
| InstanceTemplate | setSourceInstance(String sourceInstance)The source instance used to create the template. | 
| InstanceTemplate | setSourceInstanceParams(SourceInstanceParams sourceInstanceParams)The source instance params to use to create this instance template. | 
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 String getCreationTimestamp()
null for nonepublic InstanceTemplate setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic InstanceTemplate setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic InstanceTemplate setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic InstanceTemplate setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic InstanceTemplate setName(String name)
name - name or null for nonepublic InstanceProperties getProperties()
null for nonepublic InstanceTemplate setProperties(InstanceProperties properties)
properties - properties or null for nonepublic String getSelfLink()
null for nonepublic InstanceTemplate setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSourceInstance()
null for nonepublic InstanceTemplate setSourceInstance(String sourceInstance)
sourceInstance - sourceInstance or null for nonepublic SourceInstanceParams getSourceInstanceParams()
null for nonepublic InstanceTemplate setSourceInstanceParams(SourceInstanceParams sourceInstanceParams)
sourceInstanceParams - sourceInstanceParams or null for nonepublic InstanceTemplate set(String fieldName, Object value)
set in class GenericJsonpublic InstanceTemplate clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.