Class NodePoolSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.NodePoolSummary.Builder
 
- 
- Enclosing class:
- NodePoolSummary
 
 public static class NodePoolSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePoolSummarybuild()NodePoolSummary.BuilderclusterId(String clusterId)The OCID of the cluster to which this node pool is attached.NodePoolSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the node pool exists.NodePoolSummary.Buildercopy(NodePoolSummary model)NodePoolSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NodePoolSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.NodePoolSummary.Builderid(String id)The OCID of the node pool.NodePoolSummary.BuilderinitialNodeLabels(List<KeyValue> initialNodeLabels)A list of key/value pairs to add to nodes after they join the Kubernetes cluster.NodePoolSummary.BuilderkubernetesVersion(String kubernetesVersion)The version of Kubernetes running on the nodes in the node pool.NodePoolSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the state of the nodepool.NodePoolSummary.BuilderlifecycleState(NodePoolLifecycleState lifecycleState)The state of the nodepool.NodePoolSummary.Buildername(String name)The name of the node pool.NodePoolSummary.BuildernodeConfigDetails(NodePoolNodeConfigDetails nodeConfigDetails)The configuration of nodes in the node pool.NodePoolSummary.BuildernodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings)NodePoolSummary.BuildernodeImageId(String nodeImageId)Deprecated.NodePoolSummary.BuildernodeImageName(String nodeImageName)Deprecated.NodePoolSummary.BuildernodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails)NodePoolSummary.BuildernodeShape(String nodeShape)The name of the node shape of the nodes in the node pool.NodePoolSummary.BuildernodeShapeConfig(NodeShapeConfig nodeShapeConfig)The shape configuration of the nodes.NodePoolSummary.BuildernodeSource(NodeSourceOption nodeSource)Deprecated.NodePoolSummary.BuildernodeSourceDetails(NodeSourceDetails nodeSourceDetails)Source running on the nodes in the node pool.NodePoolSummary.BuilderquantityPerSubnet(Integer quantityPerSubnet)The number of nodes in each subnet.NodePoolSummary.BuildersshPublicKey(String sshPublicKey)The SSH public key on each node in the node pool on launch.NodePoolSummary.BuildersubnetIds(List<String> subnetIds)The OCIDs of the subnets in which to place nodes for this node pool.NodePoolSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.
 
- 
- 
- 
Method Detail- 
idpublic NodePoolSummary.Builder id(String id) The OCID of the node pool.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic NodePoolSummary.Builder lifecycleState(NodePoolLifecycleState lifecycleState) The state of the nodepool.For more information, see Monitoring Clusters - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic NodePoolSummary.Builder lifecycleDetails(String lifecycleDetails) Details about the state of the nodepool.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic NodePoolSummary.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 NodePoolSummary.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 NodePoolSummary.Builder name(String name) The name of the node pool.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
kubernetesVersionpublic NodePoolSummary.Builder kubernetesVersion(String kubernetesVersion) The version of Kubernetes running on the nodes in the node pool.- Parameters:
- kubernetesVersion- the value to set
- Returns:
- this builder
 
 - 
nodeImageIdpublic NodePoolSummary.Builder nodeImageId(String nodeImageId) Deprecated.see nodeSource. The OCID of the image running on the nodes in the node pool. - Parameters:
- nodeImageId- the value to set
- Returns:
- this builder
 
 - 
nodeImageNamepublic NodePoolSummary.Builder nodeImageName(String nodeImageName) Deprecated.see nodeSource. The name of the image running on the nodes in the node pool. - Parameters:
- nodeImageName- the value to set
- Returns:
- this builder
 
 - 
nodeShapeConfigpublic NodePoolSummary.Builder nodeShapeConfig(NodeShapeConfig nodeShapeConfig) The shape configuration of the nodes.- Parameters:
- nodeShapeConfig- the value to set
- Returns:
- this builder
 
 - 
nodeSourcepublic NodePoolSummary.Builder nodeSource(NodeSourceOption nodeSource) Deprecated.see nodeSourceDetails. Source running on the nodes in the node pool. - Parameters:
- nodeSource- the value to set
- Returns:
- this builder
 
 - 
nodeSourceDetailspublic NodePoolSummary.Builder nodeSourceDetails(NodeSourceDetails nodeSourceDetails) Source running on the nodes in the node pool.- Parameters:
- nodeSourceDetails- the value to set
- Returns:
- this builder
 
 - 
nodeShapepublic NodePoolSummary.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
 
 - 
initialNodeLabelspublic NodePoolSummary.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 NodePoolSummary.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 NodePoolSummary.Builder quantityPerSubnet(Integer quantityPerSubnet) The number of nodes in each subnet.- Parameters:
- quantityPerSubnet- the value to set
- Returns:
- this builder
 
 - 
subnetIdspublic NodePoolSummary.Builder subnetIds(List<String> subnetIds) The OCIDs of the subnets in which to place nodes for this node pool.- Parameters:
- subnetIds- the value to set
- Returns:
- this builder
 
 - 
nodeConfigDetailspublic NodePoolSummary.Builder nodeConfigDetails(NodePoolNodeConfigDetails nodeConfigDetails) The configuration of nodes in the node pool.- Parameters:
- nodeConfigDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic NodePoolSummary.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 NodePoolSummary.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
 
 - 
systemTagspublic NodePoolSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
nodeEvictionNodePoolSettingspublic NodePoolSummary.Builder nodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings) 
 - 
nodePoolCyclingDetailspublic NodePoolSummary.Builder nodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails) 
 - 
buildpublic NodePoolSummary build() 
 - 
copypublic NodePoolSummary.Builder copy(NodePoolSummary model) 
 
- 
 
-