Class CreateNodePoolNodeConfigDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.CreateNodePoolNodeConfigDetails.Builder
 
- 
- Enclosing class:
- CreateNodePoolNodeConfigDetails
 
 public static class CreateNodePoolNodeConfigDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNodePoolNodeConfigDetailsbuild()CreateNodePoolNodeConfigDetails.Buildercopy(CreateNodePoolNodeConfigDetails model)CreateNodePoolNodeConfigDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateNodePoolNodeConfigDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateNodePoolNodeConfigDetails.BuilderisPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)Whether to enable in-transit encryption for the data volume’s paravirtualized attachment.CreateNodePoolNodeConfigDetails.BuilderkmsKeyId(String kmsKeyId)The OCID of the Key Management Service key assigned to the boot volume.CreateNodePoolNodeConfigDetails.BuildernodePoolPodNetworkOptionDetails(NodePoolPodNetworkOptionDetails nodePoolPodNetworkOptionDetails)The CNI related configuration of pods in the node pool.CreateNodePoolNodeConfigDetails.BuildernsgIds(List<String> nsgIds)The OCIDs of the Network Security Group(s) to associate nodes for this node pool with.CreateNodePoolNodeConfigDetails.BuilderplacementConfigs(List<NodePoolPlacementConfigDetails> placementConfigs)The placement configurations for the node pool.CreateNodePoolNodeConfigDetails.Buildersize(Integer size)The number of nodes that should be in the node pool.
 
- 
- 
- 
Method Detail- 
sizepublic CreateNodePoolNodeConfigDetails.Builder size(Integer size) The number of nodes that should be in the node pool.- Parameters:
- size- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic 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.- Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
kmsKeyIdpublic CreateNodePoolNodeConfigDetails.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
 
 - 
isPvEncryptionInTransitEnabledpublic 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. - Parameters:
- isPvEncryptionInTransitEnabled- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
placementConfigspublic 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. - Parameters:
- placementConfigs- the value to set
- Returns:
- this builder
 
 - 
nodePoolPodNetworkOptionDetailspublic CreateNodePoolNodeConfigDetails.Builder nodePoolPodNetworkOptionDetails(NodePoolPodNetworkOptionDetails nodePoolPodNetworkOptionDetails) The CNI related configuration of pods in the node pool.- Parameters:
- nodePoolPodNetworkOptionDetails- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateNodePoolNodeConfigDetails build() 
 - 
copypublic CreateNodePoolNodeConfigDetails.Builder copy(CreateNodePoolNodeConfigDetails model) 
 
- 
 
-