Class UserProperty

java.lang.Object
software.amazon.awssdk.crt.mqtt5.packets.UserProperty

public class UserProperty extends Object
A simple key-value pair struct to define a user property. A user property is a name-value pair of utf-8 strings that can be added to MQTT5 packets.
  • Field Details

    • key

      public final String key
    • value

      public final String value
  • Constructor Details

    • UserProperty

      public UserProperty(String key, String value)