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

        if (obj instanceof HypervisorDetails == false)
            return false;
        HypervisorDetails other = (HypervisorDetails) obj;
        if (other.getHost() == null ^ this.getHost() == null)
            return false;
        if (other.getHost() != null && other.getHost().equals(this.getHost()) == false)
            return false;
        if (other.getHypervisorArn() == null ^ this.getHypervisorArn() == null)
            return false;
        if (other.getHypervisorArn() != null && other.getHypervisorArn().equals(this.getHypervisorArn()) == false)
            return false;
        if (other.getKmsKeyArn() == null ^ this.getKmsKeyArn() == null)
            return false;
        if (other.getKmsKeyArn() != null && other.getKmsKeyArn().equals(this.getKmsKeyArn()) == false)
            return false;
        if (other.getLastSuccessfulMetadataSyncTime() == null ^ this.getLastSuccessfulMetadataSyncTime() == null)
            return false;
        if (other.getLastSuccessfulMetadataSyncTime() != null
                && other.getLastSuccessfulMetadataSyncTime().equals(this.getLastSuccessfulMetadataSyncTime()) == false)
            return false;
        if (other.getLatestMetadataSyncStatus() == null ^ this.getLatestMetadataSyncStatus() == null)
            return false;
        if (other.getLatestMetadataSyncStatus() != null && other.getLatestMetadataSyncStatus().equals(this.getLatestMetadataSyncStatus()) == false)
            return false;
        if (other.getLatestMetadataSyncStatusMessage() == null ^ this.getLatestMetadataSyncStatusMessage() == null)
            return false;
        if (other.getLatestMetadataSyncStatusMessage() != null
                && other.getLatestMetadataSyncStatusMessage().equals(this.getLatestMetadataSyncStatusMessage()) == false)
            return false;
        if (other.getLogGroupArn() == null ^ this.getLogGroupArn() == null)
            return false;
        if (other.getLogGroupArn() != null && other.getLogGroupArn().equals(this.getLogGroupArn()) == false)
            return false;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getState() == null ^ this.getState() == null)
            return false;
        if (other.getState() != null && other.getState().equals(this.getState()) == 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-backupgateway/src/main/java/com/amazonaws/services/backupgateway/model/HypervisorDetails.java