public UpdateTrailRequest withS3BucketName(String s3BucketName) {
        setS3BucketName(s3BucketName);
        return this;
    }
<p>
Specifies the name of the Amazon S3 bucket designated for publishing log files. See <a
href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Amazon S3 Bucket naming
rules</a>.
</p>

@param s3BucketName
       Specifies the name of the Amazon S3 bucket designated for publishing log files. See <a
       href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Amazon S3 Bucket
       naming rules</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/UpdateTrailRequest.java