public AmazonRedshiftNodeData withTempDir(String tempDir) {
        setTempDir(tempDir);
        return this;
    }
<p>
The Amazon S3 path where temporary data can be staged when copying out of the database.
</p>

@param tempDir
       The Amazon S3 path where temporary data can be staged when copying out of the database.
@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