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

        if (obj instanceof OAuth2PropertiesInput == false)
            return false;
        OAuth2PropertiesInput other = (OAuth2PropertiesInput) obj;
        if (other.getOAuth2GrantType() == null ^ this.getOAuth2GrantType() == null)
            return false;
        if (other.getOAuth2GrantType() != null && other.getOAuth2GrantType().equals(this.getOAuth2GrantType()) == false)
            return false;
        if (other.getOAuth2ClientApplication() == null ^ this.getOAuth2ClientApplication() == null)
            return false;
        if (other.getOAuth2ClientApplication() != null && other.getOAuth2ClientApplication().equals(this.getOAuth2ClientApplication()) == false)
            return false;
        if (other.getTokenUrl() == null ^ this.getTokenUrl() == null)
            return false;
        if (other.getTokenUrl() != null && other.getTokenUrl().equals(this.getTokenUrl()) == false)
            return false;
        if (other.getTokenUrlParametersMap() == null ^ this.getTokenUrlParametersMap() == null)
            return false;
        if (other.getTokenUrlParametersMap() != null && other.getTokenUrlParametersMap().equals(this.getTokenUrlParametersMap()) == false)
            return false;
        if (other.getAuthorizationCodeProperties() == null ^ this.getAuthorizationCodeProperties() == null)
            return false;
        if (other.getAuthorizationCodeProperties() != null && other.getAuthorizationCodeProperties().equals(this.getAuthorizationCodeProperties()) == 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-glue/src/main/java/com/amazonaws/services/glue/model/OAuth2PropertiesInput.java