Enum TopicAliasingOptions.InboundTopicAliasBehaviorType

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

public static enum TopicAliasingOptions.InboundTopicAliasBehaviorType extends Enum<TopicAliasingOptions.InboundTopicAliasBehaviorType>
An enumeration that controls whether or not the client allows the broker to send publishes that use topic aliasing. Topic alias behavior is described in https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901113
  • Enum Constant Details

  • 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 TopicAliasingOptions.InboundTopicAliasBehaviorType getEnumValueFromInteger(int value)
      Creates a Java InboundTopicAliasBehaviorType enum value from a native integer value.
      Parameters:
      value - native integer value for the InboundTopicAliasBehaviorType value
      Returns:
      a new InboundTopicAliasBehaviorType value