public static class VirtualNodePool.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualNodePool |
build() |
VirtualNodePool.Builder |
clusterId(String clusterId)
The cluster the virtual node pool is associated with.
|
VirtualNodePool.Builder |
compartmentId(String compartmentId)
Compartment of the virtual node pool.
|
VirtualNodePool.Builder |
copy(VirtualNodePool model) |
VirtualNodePool.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
VirtualNodePool.Builder |
displayName(String displayName)
Display name of the virtual node pool.
|
VirtualNodePool.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
VirtualNodePool.Builder |
id(String id)
The OCID of the virtual node pool.
|
VirtualNodePool.Builder |
initialVirtualNodeLabels(List<InitialVirtualNodeLabel> initialVirtualNodeLabels)
Initial labels that will be added to the Kubernetes Virtual Node object when it
registers.
|
VirtualNodePool.Builder |
kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the nodes in the node pool.
|
VirtualNodePool.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the state of the Virtual Node Pool.
|
VirtualNodePool.Builder |
lifecycleState(VirtualNodePoolLifecycleState lifecycleState)
The state of the Virtual Node Pool.
|
VirtualNodePool.Builder |
nsgIds(List<String> nsgIds)
List of network security group id’s applied to the Virtual Node VNIC.
|
VirtualNodePool.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.
|
VirtualNodePool.Builder |
podConfiguration(PodConfiguration podConfiguration)
The pod configuration for pods run on virtual nodes of this virtual node pool.
|
VirtualNodePool.Builder |
size(Integer size)
The number of Virtual Nodes that should be in the Virtual Node Pool.
|
VirtualNodePool.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
VirtualNodePool.Builder |
taints(List<Taint> taints)
A taint is a collection of <key, value, effect>.
|
VirtualNodePool.Builder |
timeCreated(Date timeCreated)
The time the virtual node pool was created.
|
VirtualNodePool.Builder |
timeUpdated(Date timeUpdated)
The time the virtual node pool was updated.
|
VirtualNodePool.Builder |
virtualNodeTags(VirtualNodeTags virtualNodeTags) |
public VirtualNodePool.Builder id(String id)
The OCID of the virtual node pool.
id
- the value to setpublic VirtualNodePool.Builder compartmentId(String compartmentId)
Compartment of the virtual node pool.
compartmentId
- the value to setpublic VirtualNodePool.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 VirtualNodePool.Builder displayName(String displayName)
Display name of the virtual node pool. This is a non-unique value.
displayName
- the value to setpublic VirtualNodePool.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the nodes in the node pool.
kubernetesVersion
- the value to setpublic VirtualNodePool.Builder initialVirtualNodeLabels(List<InitialVirtualNodeLabel> initialVirtualNodeLabels)
Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources.
initialVirtualNodeLabels
- the value to setpublic VirtualNodePool.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 VirtualNodePool.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 VirtualNodePool.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 VirtualNodePool.Builder nsgIds(List<String> nsgIds)
List of network security group id’s applied to the Virtual Node VNIC.
nsgIds
- the value to setpublic VirtualNodePool.Builder podConfiguration(PodConfiguration podConfiguration)
The pod configuration for pods run on virtual nodes of this virtual node pool.
podConfiguration
- the value to setpublic VirtualNodePool.Builder lifecycleState(VirtualNodePoolLifecycleState lifecycleState)
The state of the Virtual Node Pool.
lifecycleState
- the value to setpublic VirtualNodePool.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the Virtual Node Pool.
lifecycleDetails
- the value to setpublic VirtualNodePool.Builder timeCreated(Date timeCreated)
The time the virtual node pool was created.
timeCreated
- the value to setpublic VirtualNodePool.Builder timeUpdated(Date timeUpdated)
The time the virtual node pool was updated.
timeUpdated
- the value to setpublic VirtualNodePool.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 VirtualNodePool.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 VirtualNodePool.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 VirtualNodePool.Builder virtualNodeTags(VirtualNodeTags virtualNodeTags)
public VirtualNodePool build()
public VirtualNodePool.Builder copy(VirtualNodePool model)
Copyright © 2016–2024. All rights reserved.