@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        final GetBucketPolicyStatusRequest that = (GetBucketPolicyStatusRequest) o;

        return bucketName != null ? bucketName.equals(that.bucketName) : that.bucketName == null;
    }
The name of the Amazon S3 bucket whose public-policy status you want to retrieve.

@param bucketName Name of bucket whose policy status should be retrieved.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/GetBucketPolicyStatusRequest.java