@Generated(value="by GAPIC") @BetaApi public final class InstanceTemplate extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
InstanceTemplate.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] The creation timestamp for this instance template in RFC3339 text format.
|
static InstanceTemplate |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
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.
|
int |
hashCode() |
static InstanceTemplate.Builder |
newBuilder() |
static InstanceTemplate.Builder |
newBuilder(InstanceTemplate prototype) |
InstanceTemplate.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getCreationTimestamp()
public String getDescription()
public String getId()
public String getKind()
public String getName()
public InstanceProperties getProperties()
public String getSelfLink()
public String getSourceInstance()
public SourceInstanceParams getSourceInstanceParams()
public static InstanceTemplate.Builder newBuilder()
public static InstanceTemplate.Builder newBuilder(InstanceTemplate prototype)
public InstanceTemplate.Builder toBuilder()
public static InstanceTemplate getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.