public CreateScheduledActionResult withTargetAction(ScheduledActionType targetAction) {
        setTargetAction(targetAction);
        return this;
    }
<p>
A JSON format string of the Amazon Redshift API operation with input parameters.
</p>
<p>
"
<code>{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}</code>
".
</p>

@param targetAction
       A JSON format string of the Amazon Redshift API operation with input parameters. </p>
       <p>
       "
       <code>{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}</code>
       ".
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/CreateScheduledActionResult.java