Enum Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions

java.lang.Object
java.lang.Enum<Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions>
software.amazon.awssdk.crt.mqtt5.Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions
All Implemented Interfaces:
Serializable, Comparable<Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions>
Enclosing class:
Mqtt5ClientOptions

public static enum Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions extends Enum<Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions>
Additional controls for client behavior with respect to operation validation and flow control; these checks go beyond the MQTT5 spec to respect limits of specific MQTT brokers.
  • Enum Constant Details

    • NONE

      Do not do any additional validation or flow control
    • AWS_IOT_CORE_DEFAULTS

      public static final Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions AWS_IOT_CORE_DEFAULTS
      Apply additional client-side validation and operational flow control that respects the default AWS IoT Core limits. Currently applies the following additional validation:
      1. No more than 8 subscriptions per SUBSCRIBE packet
      2. Topics and topic filters have a maximum of 7 slashes (8 segments), not counting any AWS rules prefix
      3. Topics must be 256 bytes or less in length
      4. Client id must be 128 or less bytes in length
      Also applies the following flow control:
      1. Outbound throughput throttled to 512KB/s
      2. Outbound publish TPS throttled to 100
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns:
      The native enum integer value associated with this Java enum value
    • getEnumValueFromInteger

      public static Mqtt5ClientOptions.ExtendedValidationAndFlowControlOptions getEnumValueFromInteger(int value)
      Creates a Java ExtendedValidationAndFlowControlOptions enum value from a native integer value.
      Parameters:
      value - native integer value for the extended validation and flow control options
      Returns:
      a new ExtendedValidationAndFlowControlOptions value