@Generated(value="by GAPIC") @BetaApi public final class NodeTemplate extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
NodeTemplate.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static NodeTemplate |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] The type of the resource.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
Map<String,String> |
getNodeAffinityLabelsMap()
Labels to use for node affinity, which will be used in instance scheduling.
|
String |
getNodeType()
The node type to use for nodes group that are created from this template.
|
NodeTemplateNodeTypeFlexibility |
getNodeTypeFlexibility()
The flexible properties of the desired node type.
|
String |
getRegion()
[Output Only] The name of the region where the node template resides, such as us-central1.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
ServerBinding |
getServerBinding()
Sets the binding properties for the physical server.
|
String |
getStatus()
[Output Only] The status of the node template.
|
String |
getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
int |
hashCode() |
static NodeTemplate.Builder |
newBuilder() |
static NodeTemplate.Builder |
newBuilder(NodeTemplate prototype) |
NodeTemplate.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 Map<String,String> getNodeAffinityLabelsMap()
public String getNodeType()
public NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility()
This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.
public String getRegion()
public String getSelfLink()
public ServerBinding getServerBinding()
See Sole-tenant node options for more information.
public String getStatus()
public String getStatusMessage()
public static NodeTemplate.Builder newBuilder()
public static NodeTemplate.Builder newBuilder(NodeTemplate prototype)
public NodeTemplate.Builder toBuilder()
public static NodeTemplate getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.