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

        if (obj instanceof RegisteredSubscriptionProvider == false)
            return false;
        RegisteredSubscriptionProvider other = (RegisteredSubscriptionProvider) obj;
        if (other.getLastSuccessfulDataRetrievalTime() == null ^ this.getLastSuccessfulDataRetrievalTime() == null)
            return false;
        if (other.getLastSuccessfulDataRetrievalTime() != null
                && other.getLastSuccessfulDataRetrievalTime().equals(this.getLastSuccessfulDataRetrievalTime()) == false)
            return false;
        if (other.getSecretArn() == null ^ this.getSecretArn() == null)
            return false;
        if (other.getSecretArn() != null && other.getSecretArn().equals(this.getSecretArn()) == false)
            return false;
        if (other.getSubscriptionProviderArn() == null ^ this.getSubscriptionProviderArn() == null)
            return false;
        if (other.getSubscriptionProviderArn() != null && other.getSubscriptionProviderArn().equals(this.getSubscriptionProviderArn()) == false)
            return false;
        if (other.getSubscriptionProviderSource() == null ^ this.getSubscriptionProviderSource() == null)
            return false;
        if (other.getSubscriptionProviderSource() != null && other.getSubscriptionProviderSource().equals(this.getSubscriptionProviderSource()) == false)
            return false;
        if (other.getSubscriptionProviderStatus() == null ^ this.getSubscriptionProviderStatus() == null)
            return false;
        if (other.getSubscriptionProviderStatus() != null && other.getSubscriptionProviderStatus().equals(this.getSubscriptionProviderStatus()) == false)
            return false;
        if (other.getSubscriptionProviderStatusMessage() == null ^ this.getSubscriptionProviderStatusMessage() == null)
            return false;
        if (other.getSubscriptionProviderStatusMessage() != null
                && other.getSubscriptionProviderStatusMessage().equals(this.getSubscriptionProviderStatusMessage()) == 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-licensemanagerlinuxsubscriptions/src/main/java/com/amazonaws/services/licensemanagerlinuxsubscriptions/model/RegisteredSubscriptionProvider.java