public TargetAction withCreateSnapshot(CreateSnapshotScheduleActionParameters createSnapshot) {
        setCreateSnapshot(createSnapshot);
        return this;
    }
@param createSnapshot
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/TargetAction.java