@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getBootstrapBrokerString() != null)
            sb.append("BootstrapBrokerString: ").append(getBootstrapBrokerString()).append(",");
        if (getBootstrapBrokerStringTls() != null)
            sb.append("BootstrapBrokerStringTls: ").append(getBootstrapBrokerStringTls()).append(",");
        if (getBootstrapBrokerStringSaslScram() != null)
            sb.append("BootstrapBrokerStringSaslScram: ").append(getBootstrapBrokerStringSaslScram()).append(",");
        if (getBootstrapBrokerStringSaslIam() != null)
            sb.append("BootstrapBrokerStringSaslIam: ").append(getBootstrapBrokerStringSaslIam()).append(",");
        if (getBootstrapBrokerStringPublicTls() != null)
            sb.append("BootstrapBrokerStringPublicTls: ").append(getBootstrapBrokerStringPublicTls()).append(",");
        if (getBootstrapBrokerStringPublicSaslScram() != null)
            sb.append("BootstrapBrokerStringPublicSaslScram: ").append(getBootstrapBrokerStringPublicSaslScram()).append(",");
        if (getBootstrapBrokerStringPublicSaslIam() != null)
            sb.append("BootstrapBrokerStringPublicSaslIam: ").append(getBootstrapBrokerStringPublicSaslIam()).append(",");
        if (getBootstrapBrokerStringVpcConnectivityTls() != null)
            sb.append("BootstrapBrokerStringVpcConnectivityTls: ").append(getBootstrapBrokerStringVpcConnectivityTls()).append(",");
        if (getBootstrapBrokerStringVpcConnectivitySaslScram() != null)
            sb.append("BootstrapBrokerStringVpcConnectivitySaslScram: ").append(getBootstrapBrokerStringVpcConnectivitySaslScram()).append(",");
        if (getBootstrapBrokerStringVpcConnectivitySaslIam() != null)
            sb.append("BootstrapBrokerStringVpcConnectivitySaslIam: ").append(getBootstrapBrokerStringVpcConnectivitySaslIam());
        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-kafka/src/main/java/com/amazonaws/services/kafka/model/GetBootstrapBrokersResult.java