public static class CreateNodePoolNodeConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateNodePoolNodeConfigDetails |
build() |
CreateNodePoolNodeConfigDetails.Builder |
copy(CreateNodePoolNodeConfigDetails model) |
CreateNodePoolNodeConfigDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateNodePoolNodeConfigDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateNodePoolNodeConfigDetails.Builder |
isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether to enable in-transit encryption for the data volume’s paravirtualized attachment.
|
CreateNodePoolNodeConfigDetails.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the Key Management Service key assigned to the boot volume.
|
CreateNodePoolNodeConfigDetails.Builder |
nodePoolPodNetworkOptionDetails(NodePoolPodNetworkOptionDetails nodePoolPodNetworkOptionDetails)
The CNI related configuration of pods in the node pool.
|
CreateNodePoolNodeConfigDetails.Builder |
nsgIds(List<String> nsgIds)
The OCIDs of the Network Security Group(s) to associate nodes for this node pool with.
|
CreateNodePoolNodeConfigDetails.Builder |
placementConfigs(List<NodePoolPlacementConfigDetails> placementConfigs)
The placement configurations for the node pool.
|
CreateNodePoolNodeConfigDetails.Builder |
size(Integer size)
The number of nodes that should be in the node pool.
|
public CreateNodePoolNodeConfigDetails.Builder size(Integer size)
The number of nodes that should be in the node pool.
size
- the value to setpublic CreateNodePoolNodeConfigDetails.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
.
nsgIds
- the value to setpublic CreateNodePoolNodeConfigDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the Key Management Service key assigned to the boot volume.
kmsKeyId
- the value to setpublic CreateNodePoolNodeConfigDetails.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.
isPvEncryptionInTransitEnabled
- the value to setpublic CreateNodePoolNodeConfigDetails.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 CreateNodePoolNodeConfigDetails.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 CreateNodePoolNodeConfigDetails.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.
placementConfigs
- the value to setpublic CreateNodePoolNodeConfigDetails.Builder nodePoolPodNetworkOptionDetails(NodePoolPodNetworkOptionDetails nodePoolPodNetworkOptionDetails)
The CNI related configuration of pods in the node pool.
nodePoolPodNetworkOptionDetails
- the value to setpublic CreateNodePoolNodeConfigDetails build()
public CreateNodePoolNodeConfigDetails.Builder copy(CreateNodePoolNodeConfigDetails model)
Copyright © 2016–2024. All rights reserved.