public EnableLoggingRequest withBucketName(String bucketName) {
        setBucketName(bucketName);
        return this;
    }
<p>
The name of an existing S3 bucket where the log files are to be stored.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
Must be in the same region as the cluster
</p>
</li>
<li>
<p>
The cluster must have read bucket and put object permissions
</p>
</li>
</ul>

@param bucketName
       The name of an existing S3 bucket where the log files are to be stored.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       Must be in the same region as the cluster
       </p>
       </li>
       <li>
       <p>
       The cluster must have read bucket and put object permissions
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/EnableLoggingRequest.java