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

        if (obj instanceof ClientVpnConnection == false)
            return false;
        ClientVpnConnection other = (ClientVpnConnection) obj;
        if (other.getClientVpnEndpointId() == null ^ this.getClientVpnEndpointId() == null)
            return false;
        if (other.getClientVpnEndpointId() != null && other.getClientVpnEndpointId().equals(this.getClientVpnEndpointId()) == false)
            return false;
        if (other.getTimestamp() == null ^ this.getTimestamp() == null)
            return false;
        if (other.getTimestamp() != null && other.getTimestamp().equals(this.getTimestamp()) == false)
            return false;
        if (other.getConnectionId() == null ^ this.getConnectionId() == null)
            return false;
        if (other.getConnectionId() != null && other.getConnectionId().equals(this.getConnectionId()) == false)
            return false;
        if (other.getUsername() == null ^ this.getUsername() == null)
            return false;
        if (other.getUsername() != null && other.getUsername().equals(this.getUsername()) == false)
            return false;
        if (other.getConnectionEstablishedTime() == null ^ this.getConnectionEstablishedTime() == null)
            return false;
        if (other.getConnectionEstablishedTime() != null && other.getConnectionEstablishedTime().equals(this.getConnectionEstablishedTime()) == false)
            return false;
        if (other.getIngressBytes() == null ^ this.getIngressBytes() == null)
            return false;
        if (other.getIngressBytes() != null && other.getIngressBytes().equals(this.getIngressBytes()) == false)
            return false;
        if (other.getEgressBytes() == null ^ this.getEgressBytes() == null)
            return false;
        if (other.getEgressBytes() != null && other.getEgressBytes().equals(this.getEgressBytes()) == false)
            return false;
        if (other.getIngressPackets() == null ^ this.getIngressPackets() == null)
            return false;
        if (other.getIngressPackets() != null && other.getIngressPackets().equals(this.getIngressPackets()) == false)
            return false;
        if (other.getEgressPackets() == null ^ this.getEgressPackets() == null)
            return false;
        if (other.getEgressPackets() != null && other.getEgressPackets().equals(this.getEgressPackets()) == false)
            return false;
        if (other.getClientIp() == null ^ this.getClientIp() == null)
            return false;
        if (other.getClientIp() != null && other.getClientIp().equals(this.getClientIp()) == false)
            return false;
        if (other.getCommonName() == null ^ this.getCommonName() == null)
            return false;
        if (other.getCommonName() != null && other.getCommonName().equals(this.getCommonName()) == 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.getConnectionEndTime() == null ^ this.getConnectionEndTime() == null)
            return false;
        if (other.getConnectionEndTime() != null && other.getConnectionEndTime().equals(this.getConnectionEndTime()) == false)
            return false;
        if (other.getPostureComplianceStatuses() == null ^ this.getPostureComplianceStatuses() == null)
            return false;
        if (other.getPostureComplianceStatuses() != null && other.getPostureComplianceStatuses().equals(this.getPostureComplianceStatuses()) == 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-ec2/src/main/java/com/amazonaws/services/ec2/model/ClientVpnConnection.java