public AmazonRedshiftNodeData withUpsert(Boolean upsert) {
        setUpsert(upsert);
        return this;
    }
<p>
The action used on Redshift sinks when doing an APPEND.
</p>

@param upsert
       The action used on Redshift sinks when doing an APPEND.
@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