Class CreateVirtualNodePoolDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.containerengine.model.CreateVirtualNodePoolDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class CreateVirtualNodePoolDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties that define a request to create a virtual node pool.
Note: Objects should always be created or deserialized using theCreateVirtualNodePoolDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateVirtualNodePoolDetails.Builder
, which maintain a set of all explicitly set fields calledCreateVirtualNodePoolDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateVirtualNodePoolDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateVirtualNodePoolDetails(String compartmentId, String clusterId, String displayName, List<InitialVirtualNodeLabel> initialVirtualNodeLabels, List<Taint> taints, Integer size, List<PlacementConfiguration> placementConfigurations, List<String> nsgIds, PodConfiguration podConfiguration, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, VirtualNodeTags virtualNodeTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateVirtualNodePoolDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getClusterId()
The cluster the virtual node pool is associated with.String
getCompartmentId()
Compartment of the virtual node pool.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
Display name of the virtual node pool.Map<String,String>
getFreeformTags()
Free-form tags for this resource.List<InitialVirtualNodeLabel>
getInitialVirtualNodeLabels()
Initial labels that will be added to the Kubernetes Virtual Node object when it registers.List<String>
getNsgIds()
List of network security group id’s applied to the Virtual Node VNIC.List<PlacementConfiguration>
getPlacementConfigurations()
The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains.PodConfiguration
getPodConfiguration()
The pod configuration for pods run on virtual nodes of this virtual node pool.Integer
getSize()
The number of Virtual Nodes that should be in the Virtual Node Pool.List<Taint>
getTaints()
A taint is a collection of <key, value, effect>.VirtualNodeTags
getVirtualNodeTags()
int
hashCode()
CreateVirtualNodePoolDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateVirtualNodePoolDetails
@Deprecated @ConstructorProperties({"compartmentId","clusterId","displayName","initialVirtualNodeLabels","taints","size","placementConfigurations","nsgIds","podConfiguration","freeformTags","definedTags","virtualNodeTags"}) public CreateVirtualNodePoolDetails(String compartmentId, String clusterId, String displayName, List<InitialVirtualNodeLabel> initialVirtualNodeLabels, List<Taint> taints, Integer size, List<PlacementConfiguration> placementConfigurations, List<String> nsgIds, PodConfiguration podConfiguration, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, VirtualNodeTags virtualNodeTags)
Deprecated.
-
-
Method Detail
-
builder
public static CreateVirtualNodePoolDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateVirtualNodePoolDetails.Builder toBuilder()
-
getCompartmentId
public String getCompartmentId()
Compartment of the virtual node pool.- Returns:
- the value
-
getClusterId
public String getClusterId()
The cluster the virtual node pool is associated with.A virtual node pool can only be associated with one cluster.
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Display name of the virtual node pool.This is a non-unique value.
- Returns:
- the value
-
getInitialVirtualNodeLabels
public List<InitialVirtualNodeLabel> getInitialVirtualNodeLabels()
Initial labels that will be added to the Kubernetes Virtual Node object when it registers.- Returns:
- the value
-
getTaints
public List<Taint> getTaints()
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.
- Returns:
- the value
-
getSize
public Integer getSize()
The number of Virtual Nodes that should be in the Virtual Node Pool.The placement configurations determine where these virtual nodes are placed.
- Returns:
- the value
-
getPlacementConfigurations
public List<PlacementConfiguration> getPlacementConfigurations()
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
- Returns:
- the value
-
getNsgIds
public List<String> getNsgIds()
List of network security group id’s applied to the Virtual Node VNIC.- Returns:
- the value
-
getPodConfiguration
public PodConfiguration getPodConfiguration()
The pod configuration for pods run on virtual nodes of this virtual node pool.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
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”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns:
- the value
-
getVirtualNodeTags
public VirtualNodeTags getVirtualNodeTags()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-