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

        if (obj instanceof SubscribedAsset == false)
            return false;
        SubscribedAsset other = (SubscribedAsset) obj;
        if (other.getAssetId() == null ^ this.getAssetId() == null)
            return false;
        if (other.getAssetId() != null && other.getAssetId().equals(this.getAssetId()) == false)
            return false;
        if (other.getAssetRevision() == null ^ this.getAssetRevision() == null)
            return false;
        if (other.getAssetRevision() != null && other.getAssetRevision().equals(this.getAssetRevision()) == false)
            return false;
        if (other.getFailureCause() == null ^ this.getFailureCause() == null)
            return false;
        if (other.getFailureCause() != null && other.getFailureCause().equals(this.getFailureCause()) == false)
            return false;
        if (other.getFailureTimestamp() == null ^ this.getFailureTimestamp() == null)
            return false;
        if (other.getFailureTimestamp() != null && other.getFailureTimestamp().equals(this.getFailureTimestamp()) == false)
            return false;
        if (other.getGrantedTimestamp() == null ^ this.getGrantedTimestamp() == null)
            return false;
        if (other.getGrantedTimestamp() != null && other.getGrantedTimestamp().equals(this.getGrantedTimestamp()) == false)
            return false;
        if (other.getStatus() == null ^ this.getStatus() == null)
            return false;
        if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
            return false;
        if (other.getTargetName() == null ^ this.getTargetName() == null)
            return false;
        if (other.getTargetName() != null && other.getTargetName().equals(this.getTargetName()) == 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-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SubscribedAsset.java