Class CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledActionPropsMixin.ResizeClusterMessageProperty>
- Enclosing interface:
CfnScheduledActionPropsMixin.ResizeClusterMessageProperty
@Stability(Stable)
public static final class CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledActionPropsMixin.ResizeClusterMessageProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnScheduledActionPropsMixin.ResizeClusterMessageProperty.getClassic()classic(IResolvable classic) Sets the value ofCfnScheduledActionPropsMixin.ResizeClusterMessageProperty.getClassic()clusterIdentifier(String clusterIdentifier) clusterType(String clusterType) Sets the value ofCfnScheduledActionPropsMixin.ResizeClusterMessageProperty.getNodeType()numberOfNodes(Number numberOfNodes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
classic
@Stability(Stable) public CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder classic(Boolean classic) Sets the value ofCfnScheduledActionPropsMixin.ResizeClusterMessageProperty.getClassic()- Parameters:
classic- 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 tofalse, the resize type is elastic.- Returns:
this
-
classic
@Stability(Stable) public CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder classic(IResolvable classic) Sets the value ofCfnScheduledActionPropsMixin.ResizeClusterMessageProperty.getClassic()- Parameters:
classic- 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 tofalse, the resize type is elastic.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder clusterIdentifier(String clusterIdentifier) - Parameters:
clusterIdentifier- The unique identifier for the cluster to resize.- Returns:
this
-
clusterType
@Stability(Stable) public CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder clusterType(String clusterType) - Parameters:
clusterType- The new cluster type for the specified cluster.- Returns:
this
-
nodeType
@Stability(Stable) public CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder nodeType(String nodeType) Sets the value ofCfnScheduledActionPropsMixin.ResizeClusterMessageProperty.getNodeType()- Parameters:
nodeType- The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.- Returns:
this
-
numberOfNodes
@Stability(Stable) public CfnScheduledActionPropsMixin.ResizeClusterMessageProperty.Builder numberOfNodes(Number numberOfNodes) - Parameters:
numberOfNodes- The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledActionPropsMixin.ResizeClusterMessageProperty>- Returns:
- a new instance of
CfnScheduledActionPropsMixin.ResizeClusterMessageProperty - Throws:
NullPointerException- if any required attribute was not provided
-