public DataCatalogInputDefinition withTempDirectory(S3Location tempDirectory) {
        setTempDirectory(tempDirectory);
        return this;
    }
<p>
Represents an Amazon location where DataBrew can store intermediate results.
</p>

@param tempDirectory
       Represents an Amazon location where DataBrew can store intermediate results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gluedatabrew/src/main/java/com/amazonaws/services/gluedatabrew/model/DataCatalogInputDefinition.java