@Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
        hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
        hashCode = prime * hashCode + ((getInitialContactId() == null) ? 0 : getInitialContactId().hashCode());
        hashCode = prime * hashCode + ((getPreviousContactId() == null) ? 0 : getPreviousContactId().hashCode());
        hashCode = prime * hashCode + ((getInitiationMethod() == null) ? 0 : getInitiationMethod().hashCode());
        hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
        hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
        hashCode = prime * hashCode + ((getChannel() == null) ? 0 : getChannel().hashCode());
        hashCode = prime * hashCode + ((getQueueInfo() == null) ? 0 : getQueueInfo().hashCode());
        hashCode = prime * hashCode + ((getAgentInfo() == null) ? 0 : getAgentInfo().hashCode());
        hashCode = prime * hashCode + ((getInitiationTimestamp() == null) ? 0 : getInitiationTimestamp().hashCode());
        hashCode = prime * hashCode + ((getDisconnectTimestamp() == null) ? 0 : getDisconnectTimestamp().hashCode());
        hashCode = prime * hashCode + ((getLastUpdateTimestamp() == null) ? 0 : getLastUpdateTimestamp().hashCode());
        hashCode = prime * hashCode + ((getLastPausedTimestamp() == null) ? 0 : getLastPausedTimestamp().hashCode());
        hashCode = prime * hashCode + ((getLastResumedTimestamp() == null) ? 0 : getLastResumedTimestamp().hashCode());
        hashCode = prime * hashCode + ((getTotalPauseCount() == null) ? 0 : getTotalPauseCount().hashCode());
        hashCode = prime * hashCode + ((getTotalPauseDurationInSeconds() == null) ? 0 : getTotalPauseDurationInSeconds().hashCode());
        hashCode = prime * hashCode + ((getScheduledTimestamp() == null) ? 0 : getScheduledTimestamp().hashCode());
        hashCode = prime * hashCode + ((getRelatedContactId() == null) ? 0 : getRelatedContactId().hashCode());
        hashCode = prime * hashCode + ((getWisdomInfo() == null) ? 0 : getWisdomInfo().hashCode());
        hashCode = prime * hashCode + ((getQueueTimeAdjustmentSeconds() == null) ? 0 : getQueueTimeAdjustmentSeconds().hashCode());
        hashCode = prime * hashCode + ((getQueuePriority() == null) ? 0 : getQueuePriority().hashCode());
        hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
        hashCode = prime * hashCode + ((getConnectedToSystemTimestamp() == null) ? 0 : getConnectedToSystemTimestamp().hashCode());
        hashCode = prime * hashCode + ((getRoutingCriteria() == null) ? 0 : getRoutingCriteria().hashCode());
        hashCode = prime * hashCode + ((getCustomer() == null) ? 0 : getCustomer().hashCode());
        hashCode = prime * hashCode + ((getCampaign() == null) ? 0 : getCampaign().hashCode());
        hashCode = prime * hashCode + ((getAnsweringMachineDetectionStatus() == null) ? 0 : getAnsweringMachineDetectionStatus().hashCode());
        hashCode = prime * hashCode + ((getCustomerVoiceActivity() == null) ? 0 : getCustomerVoiceActivity().hashCode());
        hashCode = prime * hashCode + ((getQualityMetrics() == null) ? 0 : getQualityMetrics().hashCode());
        hashCode = prime * hashCode + ((getDisconnectDetails() == null) ? 0 : getDisconnectDetails().hashCode());
        hashCode = prime * hashCode + ((getSegmentAttributes() == null) ? 0 : getSegmentAttributes().hashCode());
        return hashCode;
    }
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-connect/src/main/java/com/amazonaws/services/connect/model/Contact.java