Class ActionGroupExecutor

    • Method Detail

      • customControl

        public final CustomControlMethod customControl()

        To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.

        If the service returns an enum value that is not available in the current SDK version, customControl will return CustomControlMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from customControlAsString().

        Returns:
        To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.
        See Also:
        CustomControlMethod
      • customControlAsString

        public final String customControlAsString()

        To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.

        If the service returns an enum value that is not available in the current SDK version, customControl will return CustomControlMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from customControlAsString().

        Returns:
        To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.
        See Also:
        CustomControlMethod
      • lambda

        public final String lambda()

        The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.

        Returns:
        The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
      • 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)
      • fromCustomControl

        public static ActionGroupExecutor fromCustomControl​(String customControl)
        Create an instance of this class with customControlAsString() initialized to the given value.

        To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.

        Parameters:
        customControl - To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.
        See Also:
        CustomControlMethod
      • fromCustomControl

        public static ActionGroupExecutor fromCustomControl​(CustomControlMethod customControl)
        Create an instance of this class with customControlAsString() initialized to the given value.

        To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.

        Parameters:
        customControl - To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL.
        See Also:
        CustomControlMethod
      • fromLambda

        public static ActionGroupExecutor fromLambda​(String lambda)
        Create an instance of this class with lambda() initialized to the given value.

        The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.

        Parameters:
        lambda - The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.