@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class VirtualNodePoolSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties that define a virtual node pool summary.
Note: Objects should always be created or deserialized using the VirtualNodePoolSummary.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 VirtualNodePoolSummary.Builder
, which maintain a
set of all explicitly set fields called VirtualNodePoolSummary.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 |
VirtualNodePoolSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
VirtualNodePoolSummary(String id,
String compartmentId,
String clusterId,
String displayName,
String kubernetesVersion,
List<InitialVirtualNodeLabel> initialVirtualNodeLabels,
List<Taint> taints,
Integer size,
List<PlacementConfiguration> placementConfigurations,
List<String> nsgIds,
PodConfiguration podConfiguration,
VirtualNodePoolLifecycleState lifecycleState,
String lifecycleDetails,
Date timeCreated,
Date timeUpdated,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags,
VirtualNodeTags virtualNodeTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static VirtualNodePoolSummary.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.
|
String |
getId()
The OCID of the virtual node pool.
|
List<InitialVirtualNodeLabel> |
getInitialVirtualNodeLabels()
Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
|
String |
getKubernetesVersion()
The version of Kubernetes running on the nodes in the node pool.
|
String |
getLifecycleDetails()
Details about the state of the Virtual Node Pool.
|
VirtualNodePoolLifecycleState |
getLifecycleState()
The state of the Virtual Node Pool.
|
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.
|
Map<String,Map<String,Object>> |
getSystemTags()
Usage of system tag keys.
|
List<Taint> |
getTaints()
A taint is a collection of <key, value, effect>.
|
Date |
getTimeCreated()
The time the virtual node pool was created.
|
Date |
getTimeUpdated()
The time the virtual node pool was updated.
|
VirtualNodeTags |
getVirtualNodeTags() |
int |
hashCode() |
VirtualNodePoolSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","clusterId","displayName","kubernetesVersion","initialVirtualNodeLabels","taints","size","placementConfigurations","nsgIds","podConfiguration","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","freeformTags","definedTags","systemTags","virtualNodeTags"}) public VirtualNodePoolSummary(String id, String compartmentId, String clusterId, String displayName, String kubernetesVersion, List<InitialVirtualNodeLabel> initialVirtualNodeLabels, List<Taint> taints, Integer size, List<PlacementConfiguration> placementConfigurations, List<String> nsgIds, PodConfiguration podConfiguration, VirtualNodePoolLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, VirtualNodeTags virtualNodeTags)
public static VirtualNodePoolSummary.Builder builder()
Create a new builder.
public VirtualNodePoolSummary.Builder toBuilder()
public String getId()
The OCID of the virtual node pool.
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 String getKubernetesVersion()
The version of Kubernetes running on the nodes in the node pool.
public List<InitialVirtualNodeLabel> getInitialVirtualNodeLabels()
Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources.
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 VirtualNodePoolLifecycleState getLifecycleState()
The state of the Virtual Node Pool.
public String getLifecycleDetails()
Details about the state of the Virtual Node Pool.
public Date getTimeCreated()
The time the virtual node pool was created.
public Date getTimeUpdated()
The time the virtual node pool was updated.
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 Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
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.