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