Class UpdateNodePoolDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.UpdateNodePoolDetails.Builder
 
- 
- Enclosing class:
- UpdateNodePoolDetails
 
 public static class UpdateNodePoolDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNodePoolDetailsbuild()UpdateNodePoolDetails.Buildercopy(UpdateNodePoolDetails model)UpdateNodePoolDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateNodePoolDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateNodePoolDetails.BuilderinitialNodeLabels(List<KeyValue> initialNodeLabels)A list of key/value pairs to add to nodes after they join the Kubernetes cluster.UpdateNodePoolDetails.BuilderkubernetesVersion(String kubernetesVersion)The version of Kubernetes to which the nodes in the node pool should be upgraded.UpdateNodePoolDetails.Buildername(String name)The new name for the cluster.UpdateNodePoolDetails.BuildernodeConfigDetails(UpdateNodePoolNodeConfigDetails nodeConfigDetails)The configuration of nodes in the node pool.UpdateNodePoolDetails.BuildernodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings)UpdateNodePoolDetails.BuildernodeMetadata(Map<String,String> nodeMetadata)A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.UpdateNodePoolDetails.BuildernodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails)UpdateNodePoolDetails.BuildernodeShape(String nodeShape)The name of the node shape of the nodes in the node pool used on launch.UpdateNodePoolDetails.BuildernodeShapeConfig(UpdateNodeShapeConfigDetails nodeShapeConfig)Specify the configuration of the shape to launch nodes in the node pool.UpdateNodePoolDetails.BuildernodeSourceDetails(NodeSourceDetails nodeSourceDetails)Specify the source to use to launch nodes in the node pool.UpdateNodePoolDetails.BuilderquantityPerSubnet(Integer quantityPerSubnet)The number of nodes to have in each subnet specified in the subnetIds property.UpdateNodePoolDetails.BuildersshPublicKey(String sshPublicKey)The SSH public key to add to each node in the node pool on launch.UpdateNodePoolDetails.BuildersubnetIds(List<String> subnetIds)The OCIDs of the subnets in which to place nodes for this node pool.
 
- 
- 
- 
Method Detail- 
namepublic UpdateNodePoolDetails.Builder name(String name) The new name for the cluster.Avoid entering confidential information. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
kubernetesVersionpublic UpdateNodePoolDetails.Builder kubernetesVersion(String kubernetesVersion) The version of Kubernetes to which the nodes in the node pool should be upgraded.- Parameters:
- kubernetesVersion- the value to set
- Returns:
- this builder
 
 - 
initialNodeLabelspublic UpdateNodePoolDetails.Builder initialNodeLabels(List<KeyValue> initialNodeLabels) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.- Parameters:
- initialNodeLabels- the value to set
- Returns:
- this builder
 
 - 
quantityPerSubnetpublic 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. - Parameters:
- quantityPerSubnet- the value to set
- Returns:
- this builder
 
 - 
subnetIdspublic 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. - Parameters:
- subnetIds- the value to set
- Returns:
- this builder
 
 - 
nodeConfigDetailspublic 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. - Parameters:
- nodeConfigDetails- the value to set
- Returns:
- this builder
 
 - 
nodeMetadatapublic 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.- Parameters:
- nodeMetadata- the value to set
- Returns:
- this builder
 
 - 
nodeSourceDetailspublic UpdateNodePoolDetails.Builder nodeSourceDetails(NodeSourceDetails nodeSourceDetails) Specify the source to use to launch nodes in the node pool.Currently, image is the only supported source. - Parameters:
- nodeSourceDetails- the value to set
- Returns:
- this builder
 
 - 
sshPublicKeypublic UpdateNodePoolDetails.Builder sshPublicKey(String sshPublicKey) The SSH public key to add to each node in the node pool on launch.- Parameters:
- sshPublicKey- the value to set
- Returns:
- this builder
 
 - 
nodeShapepublic UpdateNodePoolDetails.Builder nodeShape(String nodeShape) The name of the node shape of the nodes in the node pool used on launch.- Parameters:
- nodeShape- the value to set
- Returns:
- this builder
 
 - 
nodeShapeConfigpublic UpdateNodePoolDetails.Builder nodeShapeConfig(UpdateNodeShapeConfigDetails nodeShapeConfig) Specify the configuration of the shape to launch nodes in the node pool.- Parameters:
- nodeShapeConfig- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
nodeEvictionNodePoolSettingspublic UpdateNodePoolDetails.Builder nodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings) 
 - 
nodePoolCyclingDetailspublic UpdateNodePoolDetails.Builder nodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails) 
 - 
buildpublic UpdateNodePoolDetails build() 
 - 
copypublic UpdateNodePoolDetails.Builder copy(UpdateNodePoolDetails model) 
 
- 
 
-