public S3Location withBucket(String bucket) {
        setBucket(bucket);
        return this;
    }
<p>
The name of the Amazon S3 bucket where the application revision is stored.
</p>

@param bucket
       The name of the Amazon S3 bucket where the application revision is stored.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/S3Location.java