Interface CfnScheduledAction.ResizeClusterMessageProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScheduledAction.ResizeClusterMessageProperty.Jsii$Proxy
- Enclosing class:
CfnScheduledAction
@Stability(Stable)
public static interface CfnScheduledAction.ResizeClusterMessageProperty
extends software.amazon.jsii.JsiiSerializable
Describes a resize cluster operation.
For example, a scheduled action to run the ResizeCluster
API operation.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.redshift.*; ResizeClusterMessageProperty resizeClusterMessageProperty = ResizeClusterMessageProperty.builder() .clusterIdentifier("clusterIdentifier") // the properties below are optional .classic(false) .clusterType("clusterType") .nodeType("nodeType") .numberOfNodes(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnScheduledAction.ResizeClusterMessageProperty
static final class
An implementation forCfnScheduledAction.ResizeClusterMessageProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
A boolean value indicating whether the resize operation is using the classic resize process.The unique identifier for the cluster to resize.default String
The new cluster type for the specified cluster.default String
The new node type for the nodes you are adding.default Number
The new number of nodes for the cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterIdentifier
The unique identifier for the cluster to resize.- See Also:
-
getClassic
A boolean value indicating whether the resize operation is using the classic resize process.If you don't provide this parameter or set the value to
false
, the resize type is elastic.- See Also:
-
getClusterType
The new cluster type for the specified cluster.- See Also:
-
getNodeType
The new node type for the nodes you are adding.If not specified, the cluster's current node type is used.
- See Also:
-
getNumberOfNodes
The new number of nodes for the cluster.If not specified, the cluster's current number of nodes is used.
- See Also:
-
builder
-