public java.util.List<UserProperty> getUserProperties() {
        return userProperties;
    }
<p>
An array of key-value pairs that you define in the MQTT5 header.
</p>

@return An array of key-value pairs that you define in the MQTT5 header.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/MqttHeaders.java