public S3LogDestinationParameters withBucketName(String bucketName) {
        setBucketName(bucketName);
        return this;
    }
<p>
Specifies the name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
</p>

@param bucketName
       Specifies the name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/S3LogDestinationParameters.java