public S3Location withKey(String key) {
        setKey(key);
        return this;
    }
<p>
The path of the folder, within the S3 bucket that contains the Dataset.
</p>

@param key
       The path of the folder, within the S3 bucket that contains the Dataset.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/S3Location.java