Class NodePoolNodeConfigDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.NodePoolNodeConfigDetails.Builder
-
- Enclosing class:
- NodePoolNodeConfigDetails
public static class NodePoolNodeConfigDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePoolNodeConfigDetails
build()
NodePoolNodeConfigDetails.Builder
copy(NodePoolNodeConfigDetails model)
NodePoolNodeConfigDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.NodePoolNodeConfigDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.NodePoolNodeConfigDetails.Builder
isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether to enable in-transit encryption for the data volume’s paravirtualized attachment.NodePoolNodeConfigDetails.Builder
kmsKeyId(String kmsKeyId)
The OCID of the Key Management Service key assigned to the boot volume.NodePoolNodeConfigDetails.Builder
nodePoolPodNetworkOptionDetails(NodePoolPodNetworkOptionDetails nodePoolPodNetworkOptionDetails)
The CNI related configuration of pods in the node pool.NodePoolNodeConfigDetails.Builder
nsgIds(List<String> nsgIds)
The OCIDs of the Network Security Group(s) to associate nodes for this node pool with.NodePoolNodeConfigDetails.Builder
placementConfigs(List<NodePoolPlacementConfigDetails> placementConfigs)
The placement configurations for the node pool.NodePoolNodeConfigDetails.Builder
size(Integer size)
The number of nodes in the node pool.
-
-
-
Method Detail
-
size
public NodePoolNodeConfigDetails.Builder size(Integer size)
The number of nodes in the node pool.- Parameters:
size
- the value to set- Returns:
- this builder
-
nsgIds
public NodePoolNodeConfigDetails.Builder nsgIds(List<String> nsgIds)
The OCIDs of the Network Security Group(s) to associate nodes for this node pool with.For more information about NSGs, see
NetworkSecurityGroup
.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
kmsKeyId
public NodePoolNodeConfigDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the Key Management Service key assigned to the boot volume.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
isPvEncryptionInTransitEnabled
public NodePoolNodeConfigDetails.Builder isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether to enable in-transit encryption for the data volume’s paravirtualized attachment.This field applies to both block volumes and boot volumes. The default value is false.
- Parameters:
isPvEncryptionInTransitEnabled
- the value to set- Returns:
- this builder
-
freeformTags
public NodePoolNodeConfigDetails.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
-
definedTags
public NodePoolNodeConfigDetails.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
-
placementConfigs
public NodePoolNodeConfigDetails.Builder placementConfigs(List<NodePoolPlacementConfigDetails> placementConfigs)
The placement configurations for the node pool.Provide one placement configuration for each availability domain in which you intend to launch a node.
To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.
- Parameters:
placementConfigs
- the value to set- Returns:
- this builder
-
nodePoolPodNetworkOptionDetails
public NodePoolNodeConfigDetails.Builder nodePoolPodNetworkOptionDetails(NodePoolPodNetworkOptionDetails nodePoolPodNetworkOptionDetails)
The CNI related configuration of pods in the node pool.- Parameters:
nodePoolPodNetworkOptionDetails
- the value to set- Returns:
- this builder
-
build
public NodePoolNodeConfigDetails build()
-
copy
public NodePoolNodeConfigDetails.Builder copy(NodePoolNodeConfigDetails model)
-
-