public static class UpdateNodePoolDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateNodePoolDetails |
build() |
UpdateNodePoolDetails.Builder |
copy(UpdateNodePoolDetails model) |
UpdateNodePoolDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateNodePoolDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateNodePoolDetails.Builder |
initialNodeLabels(List<KeyValue> initialNodeLabels)
A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
|
UpdateNodePoolDetails.Builder |
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes to which the nodes in the node pool should be upgraded.
|
UpdateNodePoolDetails.Builder |
name(String name)
The new name for the cluster.
|
UpdateNodePoolDetails.Builder |
nodeConfigDetails(UpdateNodePoolNodeConfigDetails nodeConfigDetails)
The configuration of nodes in the node pool.
|
UpdateNodePoolDetails.Builder |
nodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings) |
UpdateNodePoolDetails.Builder |
nodeMetadata(Map<String,String> nodeMetadata)
A list of key/value pairs to add to each underlying OCI instance in the node pool on
launch.
|
UpdateNodePoolDetails.Builder |
nodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails) |
UpdateNodePoolDetails.Builder |
nodeShape(String nodeShape)
The name of the node shape of the nodes in the node pool used on launch.
|
UpdateNodePoolDetails.Builder |
nodeShapeConfig(UpdateNodeShapeConfigDetails nodeShapeConfig)
Specify the configuration of the shape to launch nodes in the node pool.
|
UpdateNodePoolDetails.Builder |
nodeSourceDetails(NodeSourceDetails nodeSourceDetails)
Specify the source to use to launch nodes in the node pool.
|
UpdateNodePoolDetails.Builder |
quantityPerSubnet(Integer quantityPerSubnet)
The number of nodes to have in each subnet specified in the subnetIds property.
|
UpdateNodePoolDetails.Builder |
sshPublicKey(String sshPublicKey)
The SSH public key to add to each node in the node pool on launch.
|
UpdateNodePoolDetails.Builder |
subnetIds(List<String> subnetIds)
The OCIDs of the subnets in which to place nodes for this node pool.
|
public UpdateNodePoolDetails.Builder name(String name)
The new name for the cluster. Avoid entering confidential information.
name
- the value to setpublic UpdateNodePoolDetails.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes to which the nodes in the node pool should be upgraded.
kubernetesVersion
- the value to setpublic UpdateNodePoolDetails.Builder initialNodeLabels(List<KeyValue> initialNodeLabels)
A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
initialNodeLabels
- the value to setpublic UpdateNodePoolDetails.Builder quantityPerSubnet(Integer quantityPerSubnet)
The number of nodes to have in each subnet specified in the subnetIds property. This property is deprecated, use nodeConfigDetails instead. If the current value of quantityPerSubnet is greater than 0, you can only use quantityPerSubnet to scale the node pool. If the current value of quantityPerSubnet is equal to 0 and the current value of size in nodeConfigDetails is greater than 0, before you can use quantityPerSubnet, you must first scale the node pool to 0 nodes using nodeConfigDetails.
quantityPerSubnet
- the value to setpublic UpdateNodePoolDetails.Builder subnetIds(List<String> subnetIds)
The OCIDs of the subnets in which to place nodes for this node pool. This property is deprecated, use nodeConfigDetails instead. Only one of the subnetIds or nodeConfigDetails properties can be specified.
subnetIds
- the value to setpublic UpdateNodePoolDetails.Builder nodeConfigDetails(UpdateNodePoolNodeConfigDetails nodeConfigDetails)
The configuration of nodes in the node pool. Only one of the subnetIds or nodeConfigDetails properties should be specified. If the current value of quantityPerSubnet is greater than 0, the node pool may still be scaled using quantityPerSubnet. Before you can use nodeConfigDetails, you must first scale the node pool to 0 nodes using quantityPerSubnet.
nodeConfigDetails
- the value to setpublic UpdateNodePoolDetails.Builder nodeMetadata(Map<String,String> nodeMetadata)
A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
nodeMetadata
- the value to setpublic UpdateNodePoolDetails.Builder nodeSourceDetails(NodeSourceDetails nodeSourceDetails)
Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
nodeSourceDetails
- the value to setpublic UpdateNodePoolDetails.Builder sshPublicKey(String sshPublicKey)
The SSH public key to add to each node in the node pool on launch.
sshPublicKey
- the value to setpublic UpdateNodePoolDetails.Builder nodeShape(String nodeShape)
The name of the node shape of the nodes in the node pool used on launch.
nodeShape
- the value to setpublic UpdateNodePoolDetails.Builder nodeShapeConfig(UpdateNodeShapeConfigDetails nodeShapeConfig)
Specify the configuration of the shape to launch nodes in the node pool.
nodeShapeConfig
- the value to setpublic UpdateNodePoolDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic UpdateNodePoolDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic UpdateNodePoolDetails.Builder nodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings)
public UpdateNodePoolDetails.Builder nodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails)
public UpdateNodePoolDetails build()
public UpdateNodePoolDetails.Builder copy(UpdateNodePoolDetails model)
Copyright © 2016–2024. All rights reserved.