Class InvocationInputMember

    • Method Detail

      • apiInvocationInput

        public final ApiInvocationInput apiInvocationInput()

        Contains information about the API operation that the agent predicts should be called.

        Returns:
        Contains information about the API operation that the agent predicts should be called.
      • functionInvocationInput

        public final FunctionInvocationInput functionInvocationInput()

        Contains information about the function that the agent predicts should be called.

        Returns:
        Contains information about the function that the agent predicts should be called.
      • 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)
      • fromApiInvocationInput

        public static InvocationInputMember fromApiInvocationInput​(ApiInvocationInput apiInvocationInput)
        Create an instance of this class with apiInvocationInput() initialized to the given value.

        Contains information about the API operation that the agent predicts should be called.

        Parameters:
        apiInvocationInput - Contains information about the API operation that the agent predicts should be called.
      • fromApiInvocationInput

        public static InvocationInputMember fromApiInvocationInput​(Consumer<ApiInvocationInput.Builder> apiInvocationInput)
        Create an instance of this class with apiInvocationInput() initialized to the given value.

        Contains information about the API operation that the agent predicts should be called.

        Parameters:
        apiInvocationInput - Contains information about the API operation that the agent predicts should be called.
      • fromFunctionInvocationInput

        public static InvocationInputMember fromFunctionInvocationInput​(FunctionInvocationInput functionInvocationInput)
        Create an instance of this class with functionInvocationInput() initialized to the given value.

        Contains information about the function that the agent predicts should be called.

        Parameters:
        functionInvocationInput - Contains information about the function that the agent predicts should be called.
      • fromFunctionInvocationInput

        public static InvocationInputMember fromFunctionInvocationInput​(Consumer<FunctionInvocationInput.Builder> functionInvocationInput)
        Create an instance of this class with functionInvocationInput() initialized to the given value.

        Contains information about the function that the agent predicts should be called.

        Parameters:
        functionInvocationInput - Contains information about the function that the agent predicts should be called.