Interface ListSessionsRequest.Builder

  • Method Details

    • workflowDefinitionName

      ListSessionsRequest.Builder workflowDefinitionName(String workflowDefinitionName)

      The name of the workflow definition containing the workflow run.

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

      ListSessionsRequest.Builder workflowRunId(String workflowRunId)

      The unique identifier of the workflow run to list sessions for.

      Parameters:
      workflowRunId - The unique identifier of the workflow run to list sessions for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListSessionsRequest.Builder maxResults(Integer maxResults)

      The maximum number of sessions to return in a single response.

      Parameters:
      maxResults - The maximum number of sessions to return in a single response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListSessionsRequest.Builder nextToken(String nextToken)

      The token for retrieving the next page of results.

      Parameters:
      nextToken - The token for retrieving the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortOrder

      ListSessionsRequest.Builder sortOrder(String sortOrder)

      The sort order for the returned sessions (ascending or descending).

      Parameters:
      sortOrder - The sort order for the returned sessions (ascending or descending).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      ListSessionsRequest.Builder sortOrder(SortOrder sortOrder)

      The sort order for the returned sessions (ascending or descending).

      Parameters:
      sortOrder - The sort order for the returned sessions (ascending or descending).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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