Class CreateNodePoolDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.CreateNodePoolDetails.Builder
 
- 
- Enclosing class:
- CreateNodePoolDetails
 
 public static class CreateNodePoolDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNodePoolDetailsbuild()CreateNodePoolDetails.BuilderclusterId(String clusterId)The OCID of the cluster to which this node pool is attached.CreateNodePoolDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the node pool exists.CreateNodePoolDetails.Buildercopy(CreateNodePoolDetails model)CreateNodePoolDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateNodePoolDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateNodePoolDetails.BuilderinitialNodeLabels(List<KeyValue> initialNodeLabels)A list of key/value pairs to add to nodes after they join the Kubernetes cluster.CreateNodePoolDetails.BuilderkubernetesVersion(String kubernetesVersion)The version of Kubernetes to install on the nodes in the node pool.CreateNodePoolDetails.Buildername(String name)The name of the node pool.CreateNodePoolDetails.BuildernodeConfigDetails(CreateNodePoolNodeConfigDetails nodeConfigDetails)The configuration of nodes in the node pool.CreateNodePoolDetails.BuildernodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings)CreateNodePoolDetails.BuildernodeImageName(String nodeImageName)Deprecated.CreateNodePoolDetails.BuildernodeMetadata(Map<String,String> nodeMetadata)A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.CreateNodePoolDetails.BuildernodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails)CreateNodePoolDetails.BuildernodeShape(String nodeShape)The name of the node shape of the nodes in the node pool.CreateNodePoolDetails.BuildernodeShapeConfig(CreateNodeShapeConfigDetails nodeShapeConfig)Specify the configuration of the shape to launch nodes in the node pool.CreateNodePoolDetails.BuildernodeSourceDetails(NodeSourceDetails nodeSourceDetails)Specify the source to use to launch nodes in the node pool.CreateNodePoolDetails.BuilderquantityPerSubnet(Integer quantityPerSubnet)Optional, default to 1.CreateNodePoolDetails.BuildersshPublicKey(String sshPublicKey)The SSH public key on each node in the node pool on launch.CreateNodePoolDetails.BuildersubnetIds(List<String> subnetIds)The OCIDs of the subnets in which to place nodes for this node pool.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateNodePoolDetails.Builder compartmentId(String compartmentId) The OCID of the compartment in which the node pool exists.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
clusterIdpublic CreateNodePoolDetails.Builder clusterId(String clusterId) The OCID of the cluster to which this node pool is attached.- Parameters:
- clusterId- the value to set
- Returns:
- this builder
 
 - 
namepublic CreateNodePoolDetails.Builder name(String name) The name of the node pool.Avoid entering confidential information. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
kubernetesVersionpublic CreateNodePoolDetails.Builder kubernetesVersion(String kubernetesVersion) The version of Kubernetes to install on the nodes in the node pool.- Parameters:
- kubernetesVersion- the value to set
- Returns:
- this builder
 
 - 
nodeMetadatapublic CreateNodePoolDetails.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
 
 - 
nodeImageNamepublic CreateNodePoolDetails.Builder nodeImageName(String nodeImageName) Deprecated.Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. - Parameters:
- nodeImageName- the value to set
- Returns:
- this builder
 
 - 
nodeSourceDetailspublic CreateNodePoolDetails.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
 
 - 
nodeShapepublic CreateNodePoolDetails.Builder nodeShape(String nodeShape) The name of the node shape of the nodes in the node pool.- Parameters:
- nodeShape- the value to set
- Returns:
- this builder
 
 - 
nodeShapeConfigpublic CreateNodePoolDetails.Builder nodeShapeConfig(CreateNodeShapeConfigDetails nodeShapeConfig) Specify the configuration of the shape to launch nodes in the node pool.- Parameters:
- nodeShapeConfig- the value to set
- Returns:
- this builder
 
 - 
initialNodeLabelspublic CreateNodePoolDetails.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
 
 - 
sshPublicKeypublic CreateNodePoolDetails.Builder sshPublicKey(String sshPublicKey) The SSH public key on each node in the node pool on launch.- Parameters:
- sshPublicKey- the value to set
- Returns:
- this builder
 
 - 
quantityPerSubnetpublic CreateNodePoolDetails.Builder quantityPerSubnet(Integer quantityPerSubnet) Optional, default to 1.The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead. - Parameters:
- quantityPerSubnet- the value to set
- Returns:
- this builder
 
 - 
subnetIdspublic CreateNodePoolDetails.Builder subnetIds(List<String> subnetIds) The OCIDs of the subnets in which to place nodes for this node pool.When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified. - Parameters:
- subnetIds- the value to set
- Returns:
- this builder
 
 - 
nodeConfigDetailspublic CreateNodePoolDetails.Builder nodeConfigDetails(CreateNodePoolNodeConfigDetails nodeConfigDetails) The configuration of nodes in the node pool.Exactly one of the subnetIds or nodeConfigDetails properties must be specified. - Parameters:
- nodeConfigDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateNodePoolDetails.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 CreateNodePoolDetails.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 CreateNodePoolDetails.Builder nodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings) 
 - 
nodePoolCyclingDetailspublic CreateNodePoolDetails.Builder nodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails) 
 - 
buildpublic CreateNodePoolDetails build() 
 - 
copypublic CreateNodePoolDetails.Builder copy(CreateNodePoolDetails model) 
 
- 
 
-