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

        if (obj instanceof AssetInfo == false)
            return false;
        AssetInfo other = (AssetInfo) obj;
        if (other.getAssetId() == null ^ this.getAssetId() == null)
            return false;
        if (other.getAssetId() != null && other.getAssetId().equals(this.getAssetId()) == false)
            return false;
        if (other.getRackId() == null ^ this.getRackId() == null)
            return false;
        if (other.getRackId() != null && other.getRackId().equals(this.getRackId()) == false)
            return false;
        if (other.getAssetType() == null ^ this.getAssetType() == null)
            return false;
        if (other.getAssetType() != null && other.getAssetType().equals(this.getAssetType()) == false)
            return false;
        if (other.getComputeAttributes() == null ^ this.getComputeAttributes() == null)
            return false;
        if (other.getComputeAttributes() != null && other.getComputeAttributes().equals(this.getComputeAttributes()) == false)
            return false;
        if (other.getAssetLocation() == null ^ this.getAssetLocation() == null)
            return false;
        if (other.getAssetLocation() != null && other.getAssetLocation().equals(this.getAssetLocation()) == 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-outposts/src/main/java/com/amazonaws/services/outposts/model/AssetInfo.java