Class RepublishAction

    • Method Detail

      • roleArn

        public final String roleArn()

        The ARN of the IAM role that grants access.

        Returns:
        The ARN of the IAM role that grants access.
      • topic

        public final String topic()

        The name of the MQTT topic.

        Returns:
        The name of the MQTT topic.
      • qos

        public final Integer qos()

        The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

        Returns:
        The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
      • headers

        public final MqttHeaders headers()

        MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.

        Returns:
        MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)