@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAgentActionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAgentActionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAgentActionGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ActionGroupExecutor |
getActionGroupExecutor()
The Amazon Resource Name (ARN) of 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.
|
String |
getActionGroupName()
The name to give the action group.
|
String |
getActionGroupState()
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent
request.
|
String |
getAgentId()
The unique identifier of the agent for which to create the action group.
|
String |
getAgentVersion()
The version of the agent for which to create the action group.
|
APISchema |
getApiSchema()
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or
YAML-formatted payload defining the schema.
|
String |
getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getDescription()
A description of the action group.
|
FunctionSchema |
getFunctionSchema()
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining
the schema.
|
String |
getParentActionGroupSignature()
To allow your agent to request the user for additional information when trying to complete a task, set this field
to
AMAZON.UserInput . |
int |
hashCode() |
void |
setActionGroupExecutor(ActionGroupExecutor actionGroupExecutor)
The Amazon Resource Name (ARN) of 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.
|
void |
setActionGroupName(String actionGroupName)
The name to give the action group.
|
void |
setActionGroupState(String actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent
request.
|
void |
setAgentId(String agentId)
The unique identifier of the agent for which to create the action group.
|
void |
setAgentVersion(String agentVersion)
The version of the agent for which to create the action group.
|
void |
setApiSchema(APISchema apiSchema)
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or
YAML-formatted payload defining the schema.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
void |
setDescription(String description)
A description of the action group.
|
void |
setFunctionSchema(FunctionSchema functionSchema)
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining
the schema.
|
void |
setParentActionGroupSignature(String parentActionGroupSignature)
To allow your agent to request the user for additional information when trying to complete a task, set this field
to
AMAZON.UserInput . |
String |
toString()
Returns a string representation of this object.
|
CreateAgentActionGroupRequest |
withActionGroupExecutor(ActionGroupExecutor actionGroupExecutor)
The Amazon Resource Name (ARN) of 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.
|
CreateAgentActionGroupRequest |
withActionGroupName(String actionGroupName)
The name to give the action group.
|
CreateAgentActionGroupRequest |
withActionGroupState(ActionGroupState actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent
request.
|
CreateAgentActionGroupRequest |
withActionGroupState(String actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent
request.
|
CreateAgentActionGroupRequest |
withAgentId(String agentId)
The unique identifier of the agent for which to create the action group.
|
CreateAgentActionGroupRequest |
withAgentVersion(String agentVersion)
The version of the agent for which to create the action group.
|
CreateAgentActionGroupRequest |
withApiSchema(APISchema apiSchema)
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or
YAML-formatted payload defining the schema.
|
CreateAgentActionGroupRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
CreateAgentActionGroupRequest |
withDescription(String description)
A description of the action group.
|
CreateAgentActionGroupRequest |
withFunctionSchema(FunctionSchema functionSchema)
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining
the schema.
|
CreateAgentActionGroupRequest |
withParentActionGroupSignature(ActionGroupSignature parentActionGroupSignature)
To allow your agent to request the user for additional information when trying to complete a task, set this field
to
AMAZON.UserInput . |
CreateAgentActionGroupRequest |
withParentActionGroupSignature(String parentActionGroupSignature)
To allow your agent to request the user for additional information when trying to complete a task, set this field
to
AMAZON.UserInput . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setActionGroupExecutor(ActionGroupExecutor actionGroupExecutor)
The Amazon Resource Name (ARN) of 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.
actionGroupExecutor
- The Amazon Resource Name (ARN) of 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.public ActionGroupExecutor getActionGroupExecutor()
The Amazon Resource Name (ARN) of 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.
public CreateAgentActionGroupRequest withActionGroupExecutor(ActionGroupExecutor actionGroupExecutor)
The Amazon Resource Name (ARN) of 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.
actionGroupExecutor
- The Amazon Resource Name (ARN) of 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.public void setActionGroupName(String actionGroupName)
The name to give the action group.
actionGroupName
- The name to give the action group.public String getActionGroupName()
The name to give the action group.
public CreateAgentActionGroupRequest withActionGroupName(String actionGroupName)
The name to give the action group.
actionGroupName
- The name to give the action group.public void setActionGroupState(String actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
actionGroupState
- Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.ActionGroupState
public String getActionGroupState()
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
ActionGroupState
public CreateAgentActionGroupRequest withActionGroupState(String actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
actionGroupState
- Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.ActionGroupState
public CreateAgentActionGroupRequest withActionGroupState(ActionGroupState actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
actionGroupState
- Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.ActionGroupState
public void setAgentId(String agentId)
The unique identifier of the agent for which to create the action group.
agentId
- The unique identifier of the agent for which to create the action group.public String getAgentId()
The unique identifier of the agent for which to create the action group.
public CreateAgentActionGroupRequest withAgentId(String agentId)
The unique identifier of the agent for which to create the action group.
agentId
- The unique identifier of the agent for which to create the action group.public void setAgentVersion(String agentVersion)
The version of the agent for which to create the action group.
agentVersion
- The version of the agent for which to create the action group.public String getAgentVersion()
The version of the agent for which to create the action group.
public CreateAgentActionGroupRequest withAgentVersion(String agentVersion)
The version of the agent for which to create the action group.
agentVersion
- The version of the agent for which to create the action group.public void setApiSchema(APISchema apiSchema)
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
apiSchema
- Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON
or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI
schemas.public APISchema getApiSchema()
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
public CreateAgentActionGroupRequest withApiSchema(APISchema apiSchema)
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
apiSchema
- Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON
or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI
schemas.public void setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public String getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
public CreateAgentActionGroupRequest withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public void setDescription(String description)
A description of the action group.
description
- A description of the action group.public String getDescription()
A description of the action group.
public CreateAgentActionGroupRequest withDescription(String description)
A description of the action group.
description
- A description of the action group.public void setFunctionSchema(FunctionSchema functionSchema)
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
functionSchema
- Contains details about the function schema for the action group or the JSON or YAML-formatted payload
defining the schema.public FunctionSchema getFunctionSchema()
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
public CreateAgentActionGroupRequest withFunctionSchema(FunctionSchema functionSchema)
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
functionSchema
- Contains details about the function schema for the action group or the JSON or YAML-formatted payload
defining the schema.public void setParentActionGroupSignature(String parentActionGroupSignature)
To allow your agent to request the user for additional information when trying to complete a task, set this field
to AMAZON.UserInput
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to
AMAZON.CodeInterpreter
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
parentActionGroupSignature
- To allow your agent to request the user for additional information when trying to complete a task, set
this field to AMAZON.UserInput
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field
to AMAZON.CodeInterpreter
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
ActionGroupSignature
public String getParentActionGroupSignature()
To allow your agent to request the user for additional information when trying to complete a task, set this field
to AMAZON.UserInput
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to
AMAZON.CodeInterpreter
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
AMAZON.UserInput
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this
field to AMAZON.CodeInterpreter
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
ActionGroupSignature
public CreateAgentActionGroupRequest withParentActionGroupSignature(String parentActionGroupSignature)
To allow your agent to request the user for additional information when trying to complete a task, set this field
to AMAZON.UserInput
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to
AMAZON.CodeInterpreter
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
parentActionGroupSignature
- To allow your agent to request the user for additional information when trying to complete a task, set
this field to AMAZON.UserInput
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field
to AMAZON.CodeInterpreter
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
ActionGroupSignature
public CreateAgentActionGroupRequest withParentActionGroupSignature(ActionGroupSignature parentActionGroupSignature)
To allow your agent to request the user for additional information when trying to complete a task, set this field
to AMAZON.UserInput
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to
AMAZON.CodeInterpreter
. You must leave the description
, apiSchema
, and
actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
parentActionGroupSignature
- To allow your agent to request the user for additional information when trying to complete a task, set
this field to AMAZON.UserInput
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field
to AMAZON.CodeInterpreter
. You must leave the description
,
apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
ActionGroupSignature
public String toString()
toString
in class Object
Object.toString()
public CreateAgentActionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()