@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class UpdateNodePoolDetails extends Object
The properties that define a request to update a node pool.
Note: Objects should always be created or deserialized using the UpdateNodePoolDetails.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 UpdateNodePoolDetails.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 |
UpdateNodePoolDetails.Builder |
Constructor and Description |
---|
UpdateNodePoolDetails(String name,
String kubernetesVersion,
Integer quantityPerSubnet,
List<KeyValue> initialNodeLabels,
List<String> subnetIds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateNodePoolDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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 which the nodes in the node pool should be upgraded.
|
String |
getName()
The new name for the cluster.
|
Integer |
getQuantityPerSubnet()
The number of nodes to ensure in each subnet.
|
List<String> |
getSubnetIds()
The OCIDs of the subnets in which to place nodes for this node pool.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"name","kubernetesVersion","quantityPerSubnet","initialNodeLabels","subnetIds"}) @Deprecated public UpdateNodePoolDetails(String name, String kubernetesVersion, Integer quantityPerSubnet, List<KeyValue> initialNodeLabels, List<String> subnetIds)
public static UpdateNodePoolDetails.Builder builder()
Create a new builder.
public String getName()
The new name for the cluster. Avoid entering confidential information.
public String getKubernetesVersion()
The version of Kubernetes to which the nodes in the node pool should be upgraded.
public Integer getQuantityPerSubnet()
The number of nodes to ensure in each subnet.
public List<KeyValue> getInitialNodeLabels()
A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
public List<String> getSubnetIds()
The OCIDs of the subnets in which to place nodes for this node pool.
Copyright © 2016–2019. All rights reserved.