@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentActionGroup extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an action group.
Constructor and Description |
---|
AgentActionGroup() |
Modifier and Type | Method and Description |
---|---|
AgentActionGroup |
clone() |
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 |
getActionGroupId()
The unique identifier of the action group.
|
String |
getActionGroupName()
The name of 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 to which the action group belongs.
|
String |
getAgentVersion()
The version of the agent to which the action group belongs.
|
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.
|
Date |
getCreatedAt()
The time at which the action group was created.
|
String |
getDescription()
The description of the action group.
|
FunctionSchema |
getFunctionSchema()
Defines functions that each define parameters that the agent needs to invoke from the user.
|
String |
getParentActionSignature()
If this field is set as
AMAZON.UserInput , the agent can request the user for additional information
when trying to complete a task. |
Date |
getUpdatedAt()
The time at which the action group was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setActionGroupId(String actionGroupId)
The unique identifier of the action group.
|
void |
setActionGroupName(String actionGroupName)
The name of 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 to which the action group belongs.
|
void |
setAgentVersion(String agentVersion)
The version of the agent to which the action group belongs.
|
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 |
setCreatedAt(Date createdAt)
The time at which the action group was created.
|
void |
setDescription(String description)
The description of the action group.
|
void |
setFunctionSchema(FunctionSchema functionSchema)
Defines functions that each define parameters that the agent needs to invoke from the user.
|
void |
setParentActionSignature(String parentActionSignature)
If this field is set as
AMAZON.UserInput , the agent can request the user for additional information
when trying to complete a task. |
void |
setUpdatedAt(Date updatedAt)
The time at which the action group was last updated.
|
String |
toString()
Returns a string representation of this object.
|
AgentActionGroup |
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.
|
AgentActionGroup |
withActionGroupId(String actionGroupId)
The unique identifier of the action group.
|
AgentActionGroup |
withActionGroupName(String actionGroupName)
The name of the action group.
|
AgentActionGroup |
withActionGroupState(ActionGroupState actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent
request.
|
AgentActionGroup |
withActionGroupState(String actionGroupState)
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent
request.
|
AgentActionGroup |
withAgentId(String agentId)
The unique identifier of the agent to which the action group belongs.
|
AgentActionGroup |
withAgentVersion(String agentVersion)
The version of the agent to which the action group belongs.
|
AgentActionGroup |
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.
|
AgentActionGroup |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
AgentActionGroup |
withCreatedAt(Date createdAt)
The time at which the action group was created.
|
AgentActionGroup |
withDescription(String description)
The description of the action group.
|
AgentActionGroup |
withFunctionSchema(FunctionSchema functionSchema)
Defines functions that each define parameters that the agent needs to invoke from the user.
|
AgentActionGroup |
withParentActionSignature(ActionGroupSignature parentActionSignature)
If this field is set as
AMAZON.UserInput , the agent can request the user for additional information
when trying to complete a task. |
AgentActionGroup |
withParentActionSignature(String parentActionSignature)
If this field is set as
AMAZON.UserInput , the agent can request the user for additional information
when trying to complete a task. |
AgentActionGroup |
withUpdatedAt(Date updatedAt)
The time at which the action group was last updated.
|
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 AgentActionGroup 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 setActionGroupId(String actionGroupId)
The unique identifier of the action group.
actionGroupId
- The unique identifier of the action group.public String getActionGroupId()
The unique identifier of the action group.
public AgentActionGroup withActionGroupId(String actionGroupId)
The unique identifier of the action group.
actionGroupId
- The unique identifier of the action group.public void setActionGroupName(String actionGroupName)
The name of the action group.
actionGroupName
- The name of the action group.public String getActionGroupName()
The name of the action group.
public AgentActionGroup withActionGroupName(String actionGroupName)
The name of the action group.
actionGroupName
- The name of 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 AgentActionGroup 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 AgentActionGroup 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 to which the action group belongs.
agentId
- The unique identifier of the agent to which the action group belongs.public String getAgentId()
The unique identifier of the agent to which the action group belongs.
public AgentActionGroup withAgentId(String agentId)
The unique identifier of the agent to which the action group belongs.
agentId
- The unique identifier of the agent to which the action group belongs.public void setAgentVersion(String agentVersion)
The version of the agent to which the action group belongs.
agentVersion
- The version of the agent to which the action group belongs.public String getAgentVersion()
The version of the agent to which the action group belongs.
public AgentActionGroup withAgentVersion(String agentVersion)
The version of the agent to which the action group belongs.
agentVersion
- The version of the agent to which the action group belongs.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 AgentActionGroup 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 AgentActionGroup 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 setCreatedAt(Date createdAt)
The time at which the action group was created.
createdAt
- The time at which the action group was created.public Date getCreatedAt()
The time at which the action group was created.
public AgentActionGroup withCreatedAt(Date createdAt)
The time at which the action group was created.
createdAt
- The time at which the action group was created.public void setDescription(String description)
The description of the action group.
description
- The description of the action group.public String getDescription()
The description of the action group.
public AgentActionGroup withDescription(String description)
The description of the action group.
description
- The description of the action group.public void setFunctionSchema(FunctionSchema functionSchema)
Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
functionSchema
- Defines functions that each define parameters that the agent needs to invoke from the user. Each function
represents an action in an action group.public FunctionSchema getFunctionSchema()
Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
public AgentActionGroup withFunctionSchema(FunctionSchema functionSchema)
Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
functionSchema
- Defines functions that each define parameters that the agent needs to invoke from the user. Each function
represents an action in an action group.public void setParentActionSignature(String parentActionSignature)
If this field is set as AMAZON.UserInput
, the agent can request the user for additional information
when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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.
parentActionSignature
- If this field is set as AMAZON.UserInput
, the agent can request the user for additional
information when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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 getParentActionSignature()
If this field is set as AMAZON.UserInput
, the agent can request the user for additional information
when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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
, the agent can request the user for additional
information when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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 AgentActionGroup withParentActionSignature(String parentActionSignature)
If this field is set as AMAZON.UserInput
, the agent can request the user for additional information
when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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.
parentActionSignature
- If this field is set as AMAZON.UserInput
, the agent can request the user for additional
information when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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 AgentActionGroup withParentActionSignature(ActionGroupSignature parentActionSignature)
If this field is set as AMAZON.UserInput
, the agent can request the user for additional information
when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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.
parentActionSignature
- If this field is set as AMAZON.UserInput
, the agent can request the user for additional
information when trying to complete a task. The description
, apiSchema
, and
actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the 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 void setUpdatedAt(Date updatedAt)
The time at which the action group was last updated.
updatedAt
- The time at which the action group was last updated.public Date getUpdatedAt()
The time at which the action group was last updated.
public AgentActionGroup withUpdatedAt(Date updatedAt)
The time at which the action group was last updated.
updatedAt
- The time at which the action group was last updated.public String toString()
toString
in class Object
Object.toString()
public AgentActionGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.