public AmazonRedshiftNodeData withMergeAction(String mergeAction) {
        setMergeAction(mergeAction);
        return this;
    }
<p>
The action used when to detemine how a MERGE in a Redshift sink will be handled.
</p>

@param mergeAction
       The action used when to detemine how a MERGE in a Redshift sink will be handled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/AmazonRedshiftNodeData.java