public static class NodePoolSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NodePoolSummary |
build() |
NodePoolSummary.Builder |
clusterId(String clusterId)
The OCID of the cluster to which this node pool is attached.
|
NodePoolSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which the node pool exists.
|
NodePoolSummary.Builder |
copy(NodePoolSummary model) |
NodePoolSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
NodePoolSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
NodePoolSummary.Builder |
id(String id)
The OCID of the node pool.
|
NodePoolSummary.Builder |
initialNodeLabels(List<KeyValue> initialNodeLabels)
A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
|
NodePoolSummary.Builder |
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the nodes in the node pool.
|
NodePoolSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the state of the nodepool.
|
NodePoolSummary.Builder |
lifecycleState(NodePoolLifecycleState lifecycleState)
The state of the nodepool.
|
NodePoolSummary.Builder |
name(String name)
The name of the node pool.
|
NodePoolSummary.Builder |
nodeConfigDetails(NodePoolNodeConfigDetails nodeConfigDetails)
The configuration of nodes in the node pool.
|
NodePoolSummary.Builder |
nodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings) |
NodePoolSummary.Builder |
nodeImageId(String nodeImageId)
Deprecated.
|
NodePoolSummary.Builder |
nodeImageName(String nodeImageName)
Deprecated.
|
NodePoolSummary.Builder |
nodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails) |
NodePoolSummary.Builder |
nodeShape(String nodeShape)
The name of the node shape of the nodes in the node pool.
|
NodePoolSummary.Builder |
nodeShapeConfig(NodeShapeConfig nodeShapeConfig)
The shape configuration of the nodes.
|
NodePoolSummary.Builder |
nodeSource(NodeSourceOption nodeSource)
Deprecated.
|
NodePoolSummary.Builder |
nodeSourceDetails(NodeSourceDetails nodeSourceDetails)
Source running on the nodes in the node pool.
|
NodePoolSummary.Builder |
quantityPerSubnet(Integer quantityPerSubnet)
The number of nodes in each subnet.
|
NodePoolSummary.Builder |
sshPublicKey(String sshPublicKey)
The SSH public key on each node in the node pool on launch.
|
NodePoolSummary.Builder |
subnetIds(List<String> subnetIds)
The OCIDs of the subnets in which to place nodes for this node pool.
|
NodePoolSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
public NodePoolSummary.Builder id(String id)
The OCID of the node pool.
id
- the value to setpublic NodePoolSummary.Builder lifecycleState(NodePoolLifecycleState lifecycleState)
The state of the nodepool. For more information, see Monitoring Clusters
lifecycleState
- the value to setpublic NodePoolSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the nodepool.
lifecycleDetails
- the value to setpublic NodePoolSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the node pool exists.
compartmentId
- the value to setpublic NodePoolSummary.Builder clusterId(String clusterId)
The OCID of the cluster to which this node pool is attached.
clusterId
- the value to setpublic NodePoolSummary.Builder name(String name)
The name of the node pool.
name
- the value to setpublic NodePoolSummary.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the nodes in the node pool.
kubernetesVersion
- the value to setpublic NodePoolSummary.Builder nodeImageId(String nodeImageId)
Deprecated. see nodeSource
. The OCID of the image running on the nodes in the
node pool.
nodeImageId
- the value to setpublic NodePoolSummary.Builder nodeImageName(String nodeImageName)
Deprecated. see nodeSource
. The name of the image running on the nodes in the
node pool.
nodeImageName
- the value to setpublic NodePoolSummary.Builder nodeShapeConfig(NodeShapeConfig nodeShapeConfig)
The shape configuration of the nodes.
nodeShapeConfig
- the value to setpublic NodePoolSummary.Builder nodeSource(NodeSourceOption nodeSource)
Deprecated. see nodeSourceDetails
. Source running on the nodes in the node pool.
nodeSource
- the value to setpublic NodePoolSummary.Builder nodeSourceDetails(NodeSourceDetails nodeSourceDetails)
Source running on the nodes in the node pool.
nodeSourceDetails
- the value to setpublic NodePoolSummary.Builder nodeShape(String nodeShape)
The name of the node shape of the nodes in the node pool.
nodeShape
- the value to setpublic NodePoolSummary.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 NodePoolSummary.Builder sshPublicKey(String sshPublicKey)
The SSH public key on each node in the node pool on launch.
sshPublicKey
- the value to setpublic NodePoolSummary.Builder quantityPerSubnet(Integer quantityPerSubnet)
The number of nodes in each subnet.
quantityPerSubnet
- the value to setpublic NodePoolSummary.Builder subnetIds(List<String> subnetIds)
The OCIDs of the subnets in which to place nodes for this node pool.
subnetIds
- the value to setpublic NodePoolSummary.Builder nodeConfigDetails(NodePoolNodeConfigDetails nodeConfigDetails)
The configuration of nodes in the node pool.
nodeConfigDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic NodePoolSummary.Builder nodeEvictionNodePoolSettings(NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings)
public NodePoolSummary.Builder nodePoolCyclingDetails(NodePoolCyclingDetails nodePoolCyclingDetails)
public NodePoolSummary build()
public NodePoolSummary.Builder copy(NodePoolSummary model)
Copyright © 2016–2024. All rights reserved.