public CustomerManagedChannelS3Storage withBucket(String bucket) {
        setBucket(bucket);
        return this;
    }
<p>
The name of the S3 bucket in which channel data is stored.
</p>

@param bucket
       The name of the S3 bucket in which channel data is stored.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/CustomerManagedChannelS3Storage.java