@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getParticipantId() != null)
            sb.append("ParticipantId: ").append(getParticipantId()).append(",");
        if (getUserId() != null)
            sb.append("UserId: ").append(getUserId()).append(",");
        if (getState() != null)
            sb.append("State: ").append(getState()).append(",");
        if (getFirstJoinTime() != null)
            sb.append("FirstJoinTime: ").append(getFirstJoinTime()).append(",");
        if (getAttributes() != null)
            sb.append("Attributes: ").append(getAttributes()).append(",");
        if (getPublished() != null)
            sb.append("Published: ").append(getPublished()).append(",");
        if (getIspName() != null)
            sb.append("IspName: ").append(getIspName()).append(",");
        if (getOsName() != null)
            sb.append("OsName: ").append(getOsName()).append(",");
        if (getOsVersion() != null)
            sb.append("OsVersion: ").append(getOsVersion()).append(",");
        if (getBrowserName() != null)
            sb.append("BrowserName: ").append(getBrowserName()).append(",");
        if (getBrowserVersion() != null)
            sb.append("BrowserVersion: ").append(getBrowserVersion()).append(",");
        if (getSdkVersion() != null)
            sb.append("SdkVersion: ").append(getSdkVersion()).append(",");
        if (getRecordingS3BucketName() != null)
            sb.append("RecordingS3BucketName: ").append(getRecordingS3BucketName()).append(",");
        if (getRecordingS3Prefix() != null)
            sb.append("RecordingS3Prefix: ").append(getRecordingS3Prefix()).append(",");
        if (getRecordingState() != null)
            sb.append("RecordingState: ").append(getRecordingState());
        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-ivsrealtime/src/main/java/com/amazonaws/services/ivsrealtime/model/Participant.java