@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof UpdateBucketRequest == false)
            return false;
        UpdateBucketRequest other = (UpdateBucketRequest) obj;
        if (other.getBucketName() == null ^ this.getBucketName() == null)
            return false;
        if (other.getBucketName() != null && other.getBucketName().equals(this.getBucketName()) == false)
            return false;
        if (other.getAccessRules() == null ^ this.getAccessRules() == null)
            return false;
        if (other.getAccessRules() != null && other.getAccessRules().equals(this.getAccessRules()) == false)
            return false;
        if (other.getVersioning() == null ^ this.getVersioning() == null)
            return false;
        if (other.getVersioning() != null && other.getVersioning().equals(this.getVersioning()) == false)
            return false;
        if (other.getReadonlyAccessAccounts() == null ^ this.getReadonlyAccessAccounts() == null)
            return false;
        if (other.getReadonlyAccessAccounts() != null && other.getReadonlyAccessAccounts().equals(this.getReadonlyAccessAccounts()) == false)
            return false;
        if (other.getAccessLogConfig() == null ^ this.getAccessLogConfig() == null)
            return false;
        if (other.getAccessLogConfig() != null && other.getAccessLogConfig().equals(this.getAccessLogConfig()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/UpdateBucketRequest.java