Interface UpdateActRequest.Builder

  • Method Details

    • workflowDefinitionName

      UpdateActRequest.Builder workflowDefinitionName(String workflowDefinitionName)

      The name of the workflow definition containing the act.

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

      UpdateActRequest.Builder workflowRunId(String workflowRunId)

      The unique identifier of the workflow run containing the act.

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

      UpdateActRequest.Builder sessionId(String sessionId)

      The unique identifier of the session containing the act.

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

      The unique identifier of the act to update.

      Parameters:
      actId - The unique identifier of the act to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The new status to set for the act.

      Parameters:
      status - The new status to set for the act.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The new status to set for the act.

      Parameters:
      status - The new status to set for the act.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • error

      Error information to associate with the act, if applicable.

      Parameters:
      error - Error information to associate with the act, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      Error information to associate with the act, if applicable.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to error(ActError).

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

      UpdateActRequest.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.