Interface CreateActRequest.Builder

  • Method Details

    • workflowDefinitionName

      CreateActRequest.Builder workflowDefinitionName(String workflowDefinitionName)

      The name of the workflow definition containing the session.

      Parameters:
      workflowDefinitionName - The name of the workflow definition containing the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowRunId

      CreateActRequest.Builder workflowRunId(String workflowRunId)

      The unique identifier of the workflow run containing the session.

      Parameters:
      workflowRunId - The unique identifier of the workflow run containing the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      CreateActRequest.Builder sessionId(String sessionId)

      The unique identifier of the session to create the act in.

      Parameters:
      sessionId - The unique identifier of the session to create the act in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • task

      The task description that defines what the act should accomplish.

      Parameters:
      task - The task description that defines what the act should accomplish.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toolSpecs

      A list of tool specifications that the act can invoke to complete its task.

      Parameters:
      toolSpecs - A list of tool specifications that the act can invoke to complete its task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toolSpecs

      CreateActRequest.Builder toolSpecs(ToolSpec... toolSpecs)

      A list of tool specifications that the act can invoke to complete its task.

      Parameters:
      toolSpecs - A list of tool specifications that the act can invoke to complete its task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toolSpecs

      A list of tool specifications that the act can invoke to complete its task.

      This is a convenience method that creates an instance of the ToolSpec.Builder avoiding the need to create one manually via ToolSpec.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to toolSpecs(List<ToolSpec>).

      Parameters:
      toolSpecs - a consumer that will call methods on ToolSpec.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      CreateActRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateActRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.