@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class CreateNodePoolDetails extends Object
The properties that define a request to create a node pool.
Note: Objects should always be created or deserialized using the CreateNodePoolDetails.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 CreateNodePoolDetails.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 |
CreateNodePoolDetails.Builder |
Constructor and Description |
---|
CreateNodePoolDetails(String compartmentId,
String clusterId,
String name,
String kubernetesVersion,
Map<String,String> nodeMetadata,
String nodeImageName,
String nodeShape,
List<KeyValue> initialNodeLabels,
String sshPublicKey,
Integer quantityPerSubnet,
List<String> subnetIds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateNodePoolDetails.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.
|
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 to install on the nodes in the node pool.
|
String |
getName()
The name of 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.
|
String |
getNodeShape()
The name of the node shape of the nodes in the node pool.
|
Integer |
getQuantityPerSubnet()
The number of nodes to create in each subnet.
|
String |
getSshPublicKey()
The SSH public key to add to 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={"compartmentId","clusterId","name","kubernetesVersion","nodeMetadata","nodeImageName","nodeShape","initialNodeLabels","sshPublicKey","quantityPerSubnet","subnetIds"}) @Deprecated public CreateNodePoolDetails(String compartmentId, String clusterId, String name, String kubernetesVersion, Map<String,String> nodeMetadata, String nodeImageName, String nodeShape, List<KeyValue> initialNodeLabels, String sshPublicKey, Integer quantityPerSubnet, List<String> subnetIds)
public static CreateNodePoolDetails.Builder builder()
Create a new builder.
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. Avoid entering confidential information.
public String getKubernetesVersion()
The version of Kubernetes to install 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 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 to add to each node in the node pool.
public Integer getQuantityPerSubnet()
The number of nodes to create 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.