public S3Location withBucketName(String bucketName) {
        setBucketName(bucketName);
        return this;
    }
Sets the name of the bucket where the restore results will be placed.

@param bucketName The new bucketName value.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/S3Location.java