@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class NodePool extends Object
A pool of compute nodes attached to a cluster. Avoid entering confidential information.
Note: Objects should always be created or deserialized using the NodePool.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the NodePool.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
NodePool.Builder |
Constructor and Description |
---|
NodePool(String id,
String compartmentId,
String clusterId,
String name,
String kubernetesVersion,
Map<String,String> nodeMetadata,
String nodeImageId,
String nodeImageName,
String nodeShape,
List<KeyValue> initialNodeLabels,
String sshPublicKey,
Integer quantityPerSubnet,
List<String> subnetIds,
List<Node> nodes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static NodePool.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getClusterId()
The OCID of the cluster to which this node pool is attached.
|
String |
getCompartmentId()
The OCID of the compartment in which the node pool exists.
|
String |
getId()
The OCID of the node pool.
|
List<KeyValue> |
getInitialNodeLabels()
A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
|
String |
getKubernetesVersion()
The version of Kubernetes running on the nodes in the node pool.
|
String |
getName()
The name of the node pool.
|
String |
getNodeImageId()
The OCID of the image running on the nodes in the node pool.
|
String |
getNodeImageName()
The name of the image running on the nodes in the node pool.
|
Map<String,String> |
getNodeMetadata()
A list of key/value pairs to add to each underlying OCI instance in the node pool.
|
List<Node> |
getNodes()
The nodes in the node pool.
|
String |
getNodeShape()
The name of the node shape of the nodes in the node pool.
|
Integer |
getQuantityPerSubnet()
The number of nodes in each subnet.
|
String |
getSshPublicKey()
The SSH public key on each node in the node pool.
|
List<String> |
getSubnetIds()
The OCIDs of the subnets in which to place nodes for this node pool.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","clusterId","name","kubernetesVersion","nodeMetadata","nodeImageId","nodeImageName","nodeShape","initialNodeLabels","sshPublicKey","quantityPerSubnet","subnetIds","nodes"}) @Deprecated public NodePool(String id, String compartmentId, String clusterId, String name, String kubernetesVersion, Map<String,String> nodeMetadata, String nodeImageId, String nodeImageName, String nodeShape, List<KeyValue> initialNodeLabels, String sshPublicKey, Integer quantityPerSubnet, List<String> subnetIds, List<Node> nodes)
public static NodePool.Builder builder()
Create a new builder.
public String getId()
The OCID of the node pool.
public String getCompartmentId()
The OCID of the compartment in which the node pool exists.
public String getClusterId()
The OCID of the cluster to which this node pool is attached.
public String getName()
The name of the node pool.
public String getKubernetesVersion()
The version of Kubernetes running on the nodes in the node pool.
public Map<String,String> getNodeMetadata()
A list of key/value pairs to add to each underlying OCI instance in the node pool.
public String getNodeImageId()
The OCID of the image running on the nodes in the node pool.
public String getNodeImageName()
The name of the image running on the nodes in the node pool.
public String getNodeShape()
The name of the node shape of the nodes in the node pool.
public List<KeyValue> getInitialNodeLabels()
A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
public String getSshPublicKey()
The SSH public key on each node in the node pool.
public Integer getQuantityPerSubnet()
The number of nodes in each subnet.
public List<String> getSubnetIds()
The OCIDs of the subnets in which to place nodes for this node pool.
Copyright © 2016–2019. All rights reserved.