@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class CreateNodePoolNodeConfigDetails extends Object
The size and placement configuration of nodes in the node pool.
Note: Objects should always be created or deserialized using the CreateNodePoolNodeConfigDetails.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 CreateNodePoolNodeConfigDetails.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateNodePoolNodeConfigDetails.Builder |
Constructor and Description |
---|
CreateNodePoolNodeConfigDetails(Integer size,
List<NodePoolPlacementConfigDetails> placementConfigs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateNodePoolNodeConfigDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<NodePoolPlacementConfigDetails> |
getPlacementConfigs()
The placement configurations for the node pool.
|
Integer |
getSize()
The number of nodes that should be in the node pool.
|
int |
hashCode() |
CreateNodePoolNodeConfigDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"size","placementConfigs"}) @Deprecated public CreateNodePoolNodeConfigDetails(Integer size, List<NodePoolPlacementConfigDetails> placementConfigs)
public static CreateNodePoolNodeConfigDetails.Builder builder()
Create a new builder.
public CreateNodePoolNodeConfigDetails.Builder toBuilder()
public Integer getSize()
The number of nodes that should be in the node pool.
public List<NodePoolPlacementConfigDetails> getPlacementConfigs()
The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.
To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.
Copyright © 2016–2021. All rights reserved.