@Stability(value=Stable)
public static interface CfnScheduledAction.ScheduledActionTypeProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
ScheduledActionTypeProperty scheduledActionTypeProperty = ScheduledActionTypeProperty.builder()
.pauseCluster(PauseClusterMessageProperty.builder()
.clusterIdentifier("clusterIdentifier")
.build())
.resizeCluster(ResizeClusterMessageProperty.builder()
.clusterIdentifier("clusterIdentifier")
// the properties below are optional
.classic(false)
.clusterType("clusterType")
.nodeType("nodeType")
.numberOfNodes(123)
.build())
.resumeCluster(ResumeClusterMessageProperty.builder()
.clusterIdentifier("clusterIdentifier")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnScheduledAction.ScheduledActionTypeProperty.Builder
A builder for
CfnScheduledAction.ScheduledActionTypeProperty |
static class |
CfnScheduledAction.ScheduledActionTypeProperty.Jsii$Proxy
An implementation for
CfnScheduledAction.ScheduledActionTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnScheduledAction.ScheduledActionTypeProperty.Builder |
builder() |
default Object |
getPauseCluster()
An action that runs a `PauseCluster` API operation.
|
default Object |
getResizeCluster()
An action that runs a `ResizeCluster` API operation.
|
default Object |
getResumeCluster()
An action that runs a `ResumeCluster` API operation.
|
@Stability(value=Stable) @Nullable default Object getPauseCluster()
@Stability(value=Stable) @Nullable default Object getResizeCluster()
@Stability(value=Stable) @Nullable default Object getResumeCluster()
@Stability(value=Stable) static CfnScheduledAction.ScheduledActionTypeProperty.Builder builder()
Copyright © 2022. All rights reserved.