Class ActionGroupExecutor
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.ActionGroupExecutor
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ActionGroupExecutor.Builder,ActionGroupExecutor>
@Generated("software.amazon.awssdk:codegen") public final class ActionGroupExecutor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActionGroupExecutor.Builder,ActionGroupExecutor>
Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActionGroupExecutor.Builderstatic classActionGroupExecutor.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionGroupExecutor.Builderbuilder()CustomControlMethodcustomControl()To return the action group invocation results directly in theInvokeInlineAgentresponse, specifyRETURN_CONTROL.StringcustomControlAsString()To return the action group invocation results directly in theInvokeInlineAgentresponse, specifyRETURN_CONTROL.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ActionGroupExecutorfromCustomControl(String customControl)Create an instance of this class withcustomControlAsString()initialized to the given value.static ActionGroupExecutorfromCustomControl(CustomControlMethod customControl)Create an instance of this class withcustomControlAsString()initialized to the given value.static ActionGroupExecutorfromLambda(String lambda)Create an instance of this class withlambda()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlambda()The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ActionGroupExecutor.Builder>serializableBuilderClass()ActionGroupExecutor.BuildertoBuilder()StringtoString()Returns a string representation of this object.ActionGroupExecutor.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
customControl
public final CustomControlMethod customControl()
To return the action group invocation results directly in the
InvokeInlineAgentresponse, specifyRETURN_CONTROL.If the service returns an enum value that is not available in the current SDK version,
customControlwill returnCustomControlMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcustomControlAsString().- Returns:
- To return the action group invocation results directly in the
InvokeInlineAgentresponse, specifyRETURN_CONTROL. - See Also:
CustomControlMethod
-
customControlAsString
public final String customControlAsString()
To return the action group invocation results directly in the
InvokeInlineAgentresponse, specifyRETURN_CONTROL.If the service returns an enum value that is not available in the current SDK version,
customControlwill returnCustomControlMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcustomControlAsString().- Returns:
- To return the action group invocation results directly in the
InvokeInlineAgentresponse, specifyRETURN_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.
-
toBuilder
public ActionGroupExecutor.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ActionGroupExecutor.Builder,ActionGroupExecutor>
-
builder
public static ActionGroupExecutor.Builder builder()
-
serializableBuilderClass
public static Class<? extends ActionGroupExecutor.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
fromCustomControl
public static ActionGroupExecutor fromCustomControl(String customControl)
Create an instance of this class withcustomControlAsString()initialized to the given value.To return the action group invocation results directly in the
InvokeInlineAgentresponse, specifyRETURN_CONTROL.- Parameters:
customControl- To return the action group invocation results directly in theInvokeInlineAgentresponse, specifyRETURN_CONTROL.- See Also:
CustomControlMethod
-
fromCustomControl
public static ActionGroupExecutor fromCustomControl(CustomControlMethod customControl)
Create an instance of this class withcustomControlAsString()initialized to the given value.To return the action group invocation results directly in the
InvokeInlineAgentresponse, specifyRETURN_CONTROL.- Parameters:
customControl- To return the action group invocation results directly in theInvokeInlineAgentresponse, specifyRETURN_CONTROL.- See Also:
CustomControlMethod
-
fromLambda
public static ActionGroupExecutor fromLambda(String lambda)
Create an instance of this class withlambda()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.
-
type
public ActionGroupExecutor.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beActionGroupExecutor.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beActionGroupExecutor.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-