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

        if (obj instanceof UpdateProtectConfigurationCountryRuleSetResult == false)
            return false;
        UpdateProtectConfigurationCountryRuleSetResult other = (UpdateProtectConfigurationCountryRuleSetResult) obj;
        if (other.getProtectConfigurationArn() == null ^ this.getProtectConfigurationArn() == null)
            return false;
        if (other.getProtectConfigurationArn() != null && other.getProtectConfigurationArn().equals(this.getProtectConfigurationArn()) == false)
            return false;
        if (other.getProtectConfigurationId() == null ^ this.getProtectConfigurationId() == null)
            return false;
        if (other.getProtectConfigurationId() != null && other.getProtectConfigurationId().equals(this.getProtectConfigurationId()) == false)
            return false;
        if (other.getNumberCapability() == null ^ this.getNumberCapability() == null)
            return false;
        if (other.getNumberCapability() != null && other.getNumberCapability().equals(this.getNumberCapability()) == false)
            return false;
        if (other.getCountryRuleSet() == null ^ this.getCountryRuleSet() == null)
            return false;
        if (other.getCountryRuleSet() != null && other.getCountryRuleSet().equals(this.getCountryRuleSet()) == 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-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/UpdateProtectConfigurationCountryRuleSetResult.java