Enum SemanticAttributes.FaasTriggerValues

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DATASOURCE
      A response to some data source operation such as a database or filesystem read/write.
      HTTP
      To provide an answer to an inbound HTTP request.
      OTHER
      If none of the others apply.
      PUBSUB
      A function is set to be executed when messages are sent to a messaging system.
      TIMER
      A function is scheduled to be executed regularly.
    • Method Detail

      • values

        public static SemanticAttributes.FaasTriggerValues[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SemanticAttributes.FaasTriggerValues c : SemanticAttributes.FaasTriggerValues.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SemanticAttributes.FaasTriggerValues valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()