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