Class VirtualNodePoolSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.VirtualNodePoolSummary.Builder
-
- Enclosing class:
- VirtualNodePoolSummary
public static class VirtualNodePoolSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
id
public VirtualNodePoolSummary.Builder id(String id)
The OCID of the virtual node pool.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public VirtualNodePoolSummary.Builder compartmentId(String compartmentId)
Compartment of the virtual node pool.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
clusterId
public 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.
- Parameters:
clusterId
- the value to set- Returns:
- this builder
-
displayName
public VirtualNodePoolSummary.Builder displayName(String displayName)
Display name of the virtual node pool.This is a non-unique value.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
kubernetesVersion
public VirtualNodePoolSummary.Builder kubernetesVersion(String kubernetesVersion)
The version of Kubernetes running on the nodes in the node pool.- Parameters:
kubernetesVersion
- the value to set- Returns:
- this builder
-
initialVirtualNodeLabels
public 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.
- Parameters:
initialVirtualNodeLabels
- the value to set- Returns:
- this builder
-
taints
public 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.
- Parameters:
taints
- the value to set- Returns:
- this builder
-
size
public 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.
- Parameters:
size
- the value to set- Returns:
- this builder
-
placementConfigurations
public 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
- Parameters:
placementConfigurations
- the value to set- Returns:
- this builder
-
nsgIds
public VirtualNodePoolSummary.Builder nsgIds(List<String> nsgIds)
List of network security group id’s applied to the Virtual Node VNIC.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
podConfiguration
public VirtualNodePoolSummary.Builder podConfiguration(PodConfiguration podConfiguration)
The pod configuration for pods run on virtual nodes of this virtual node pool.- Parameters:
podConfiguration
- the value to set- Returns:
- this builder
-
lifecycleState
public VirtualNodePoolSummary.Builder lifecycleState(VirtualNodePoolLifecycleState lifecycleState)
The state of the Virtual Node Pool.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public VirtualNodePoolSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the Virtual Node Pool.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public VirtualNodePoolSummary.Builder timeCreated(Date timeCreated)
The time the virtual node pool was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public VirtualNodePoolSummary.Builder timeUpdated(Date timeUpdated)
The time the virtual node pool was updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
virtualNodeTags
public VirtualNodePoolSummary.Builder virtualNodeTags(VirtualNodeTags virtualNodeTags)
-
build
public VirtualNodePoolSummary build()
-
copy
public VirtualNodePoolSummary.Builder copy(VirtualNodePoolSummary model)
-
-