public static class CreateVirtualNodePoolDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateVirtualNodePoolDetails |
build() |
CreateVirtualNodePoolDetails.Builder |
clusterId(String clusterId)
The cluster the virtual node pool is associated with.
|
CreateVirtualNodePoolDetails.Builder |
compartmentId(String compartmentId)
Compartment of the virtual node pool.
|
CreateVirtualNodePoolDetails.Builder |
copy(CreateVirtualNodePoolDetails model) |
CreateVirtualNodePoolDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateVirtualNodePoolDetails.Builder |
displayName(String displayName)
Display name of the virtual node pool.
|
CreateVirtualNodePoolDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateVirtualNodePoolDetails.Builder |
initialVirtualNodeLabels(List<InitialVirtualNodeLabel> initialVirtualNodeLabels)
Initial labels that will be added to the Kubernetes Virtual Node object when it
registers.
|
CreateVirtualNodePoolDetails.Builder |
nsgIds(List<String> nsgIds)
List of network security group id’s applied to the Virtual Node VNIC.
|
CreateVirtualNodePoolDetails.Builder |
placementConfigurations(List<PlacementConfiguration> placementConfigurations)
The list of placement configurations which determines where Virtual Nodes will be
provisioned across as it relates to the subnet and availability domains.
|
CreateVirtualNodePoolDetails.Builder |
podConfiguration(PodConfiguration podConfiguration)
The pod configuration for pods run on virtual nodes of this virtual node pool.
|
CreateVirtualNodePoolDetails.Builder |
size(Integer size)
The number of Virtual Nodes that should be in the Virtual Node Pool.
|
CreateVirtualNodePoolDetails.Builder |
taints(List<Taint> taints)
A taint is a collection of <key, value, effect>.
|
CreateVirtualNodePoolDetails.Builder |
virtualNodeTags(VirtualNodeTags virtualNodeTags) |
public CreateVirtualNodePoolDetails.Builder compartmentId(String compartmentId)
Compartment of the virtual node pool.
compartmentId
- the value to setpublic CreateVirtualNodePoolDetails.Builder clusterId(String clusterId)
The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
clusterId
- the value to setpublic CreateVirtualNodePoolDetails.Builder displayName(String displayName)
Display name of the virtual node pool. This is a non-unique value.
displayName
- the value to setpublic CreateVirtualNodePoolDetails.Builder initialVirtualNodeLabels(List<InitialVirtualNodeLabel> initialVirtualNodeLabels)
Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
initialVirtualNodeLabels
- the value to setpublic CreateVirtualNodePoolDetails.Builder taints(List<Taint> taints)
A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
taints
- the value to setpublic CreateVirtualNodePoolDetails.Builder size(Integer size)
The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
size
- the value to setpublic CreateVirtualNodePoolDetails.Builder placementConfigurations(List<PlacementConfiguration> placementConfigurations)
The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
placementConfigurations
- the value to setpublic CreateVirtualNodePoolDetails.Builder nsgIds(List<String> nsgIds)
List of network security group id’s applied to the Virtual Node VNIC.
nsgIds
- the value to setpublic CreateVirtualNodePoolDetails.Builder podConfiguration(PodConfiguration podConfiguration)
The pod configuration for pods run on virtual nodes of this virtual node pool.
podConfiguration
- the value to setpublic CreateVirtualNodePoolDetails.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 CreateVirtualNodePoolDetails.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 CreateVirtualNodePoolDetails.Builder virtualNodeTags(VirtualNodeTags virtualNodeTags)
public CreateVirtualNodePoolDetails build()
public CreateVirtualNodePoolDetails.Builder copy(CreateVirtualNodePoolDetails model)
Copyright © 2016–2024. All rights reserved.