@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledActionType extends Object implements Serializable, Cloneable
The action type that specifies an Amazon Redshift API operation that is supported by the Amazon Redshift scheduler.
Constructor and Description |
---|
ScheduledActionType() |
Modifier and Type | Method and Description |
---|---|
ScheduledActionType |
clone() |
boolean |
equals(Object obj) |
PauseClusterMessage |
getPauseCluster()
An action that runs a
PauseCluster API operation. |
ResizeClusterMessage |
getResizeCluster()
An action that runs a
ResizeCluster API operation. |
ResumeClusterMessage |
getResumeCluster()
An action that runs a
ResumeCluster API operation. |
int |
hashCode() |
void |
setPauseCluster(PauseClusterMessage pauseCluster)
An action that runs a
PauseCluster API operation. |
void |
setResizeCluster(ResizeClusterMessage resizeCluster)
An action that runs a
ResizeCluster API operation. |
void |
setResumeCluster(ResumeClusterMessage resumeCluster)
An action that runs a
ResumeCluster API operation. |
String |
toString()
Returns a string representation of this object.
|
ScheduledActionType |
withPauseCluster(PauseClusterMessage pauseCluster)
An action that runs a
PauseCluster API operation. |
ScheduledActionType |
withResizeCluster(ResizeClusterMessage resizeCluster)
An action that runs a
ResizeCluster API operation. |
ScheduledActionType |
withResumeCluster(ResumeClusterMessage resumeCluster)
An action that runs a
ResumeCluster API operation. |
public void setResizeCluster(ResizeClusterMessage resizeCluster)
An action that runs a ResizeCluster
API operation.
resizeCluster
- An action that runs a ResizeCluster
API operation.public ResizeClusterMessage getResizeCluster()
An action that runs a ResizeCluster
API operation.
ResizeCluster
API operation.public ScheduledActionType withResizeCluster(ResizeClusterMessage resizeCluster)
An action that runs a ResizeCluster
API operation.
resizeCluster
- An action that runs a ResizeCluster
API operation.public void setPauseCluster(PauseClusterMessage pauseCluster)
An action that runs a PauseCluster
API operation.
pauseCluster
- An action that runs a PauseCluster
API operation.public PauseClusterMessage getPauseCluster()
An action that runs a PauseCluster
API operation.
PauseCluster
API operation.public ScheduledActionType withPauseCluster(PauseClusterMessage pauseCluster)
An action that runs a PauseCluster
API operation.
pauseCluster
- An action that runs a PauseCluster
API operation.public void setResumeCluster(ResumeClusterMessage resumeCluster)
An action that runs a ResumeCluster
API operation.
resumeCluster
- An action that runs a ResumeCluster
API operation.public ResumeClusterMessage getResumeCluster()
An action that runs a ResumeCluster
API operation.
ResumeCluster
API operation.public ScheduledActionType withResumeCluster(ResumeClusterMessage resumeCluster)
An action that runs a ResumeCluster
API operation.
resumeCluster
- An action that runs a ResumeCluster
API operation.public String toString()
toString
in class Object
Object.toString()
public ScheduledActionType clone()