@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 the CreateVirtualNodePoolDetails.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 the CreateVirtualNodePoolDetails.Builder
, which maintain a
set of all explicitly set fields called CreateVirtualNodePoolDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateVirtualNodePoolDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static CreateVirtualNodePoolDetails.Builder builder()
Create a new builder.
public CreateVirtualNodePoolDetails.Builder toBuilder()
public String getCompartmentId()
Compartment of the virtual node pool.
public String getClusterId()
The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
public String getDisplayName()
Display name of the virtual node pool. This is a non-unique value.
public List<InitialVirtualNodeLabel> getInitialVirtualNodeLabels()
Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
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.
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.
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
public List<String> getNsgIds()
List of network security group id’s applied to the Virtual Node VNIC.
public PodConfiguration getPodConfiguration()
The pod configuration for pods run on virtual nodes of this virtual node pool.
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"}
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"}}
public VirtualNodeTags getVirtualNodeTags()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.