@Stability(value=Stable)
public static interface CfnScheduledAction.ResizeClusterMessageProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnScheduledAction.ResizeClusterMessageProperty.Builder
A builder for
CfnScheduledAction.ResizeClusterMessageProperty |
static class |
CfnScheduledAction.ResizeClusterMessageProperty.Jsii$Proxy
An implementation for
CfnScheduledAction.ResizeClusterMessageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnScheduledAction.ResizeClusterMessageProperty.Builder |
builder() |
default Object |
getClassic()
A boolean value indicating whether the resize operation is using the classic resize process.
|
String |
getClusterIdentifier()
The unique identifier for the cluster to resize.
|
default String |
getClusterType()
The new cluster type for the specified cluster.
|
default String |
getNodeType()
The new node type for the nodes you are adding.
|
default Number |
getNumberOfNodes()
The new number of nodes for the cluster.
|
@Stability(value=Stable) @NotNull String getClusterIdentifier()
@Stability(value=Stable) @Nullable default Object getClassic()
If you don't provide this parameter or set the value to false , the resize type is elastic.
@Stability(value=Stable) @Nullable default String getClusterType()
@Stability(value=Stable) @Nullable default String getNodeType()
If not specified, the cluster's current node type is used.
@Stability(value=Stable) @Nullable default Number getNumberOfNodes()
If not specified, the cluster's current number of nodes is used.
@Stability(value=Stable) static CfnScheduledAction.ResizeClusterMessageProperty.Builder builder()
Copyright © 2022. All rights reserved.