public OutputNotebookS3LocationForOutput withBucket(String bucket) {
        setBucket(bucket);
        return this;
    }
<p>
The Amazon S3 bucket that stores the notebook execution output.
</p>

@param bucket
       The Amazon S3 bucket that stores the notebook execution output.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/OutputNotebookS3LocationForOutput.java