@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getClientVpnEndpointId() != null)
            sb.append("ClientVpnEndpointId: ").append(getClientVpnEndpointId()).append(",");
        if (getTimestamp() != null)
            sb.append("Timestamp: ").append(getTimestamp()).append(",");
        if (getConnectionId() != null)
            sb.append("ConnectionId: ").append(getConnectionId()).append(",");
        if (getUsername() != null)
            sb.append("Username: ").append(getUsername()).append(",");
        if (getConnectionEstablishedTime() != null)
            sb.append("ConnectionEstablishedTime: ").append(getConnectionEstablishedTime()).append(",");
        if (getIngressBytes() != null)
            sb.append("IngressBytes: ").append(getIngressBytes()).append(",");
        if (getEgressBytes() != null)
            sb.append("EgressBytes: ").append(getEgressBytes()).append(",");
        if (getIngressPackets() != null)
            sb.append("IngressPackets: ").append(getIngressPackets()).append(",");
        if (getEgressPackets() != null)
            sb.append("EgressPackets: ").append(getEgressPackets()).append(",");
        if (getClientIp() != null)
            sb.append("ClientIp: ").append(getClientIp()).append(",");
        if (getCommonName() != null)
            sb.append("CommonName: ").append(getCommonName()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getConnectionEndTime() != null)
            sb.append("ConnectionEndTime: ").append(getConnectionEndTime()).append(",");
        if (getPostureComplianceStatuses() != null)
            sb.append("PostureComplianceStatuses: ").append(getPostureComplianceStatuses());
        sb.append("}");
        return sb.toString();
    }
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