Interface ListActivitiesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListActivitiesResponse.Builder,ListActivitiesResponse>, SdkBuilder<ListActivitiesResponse.Builder,ListActivitiesResponse>, SdkPojo, SdkResponse.Builder, SfnResponse.Builder
Enclosing class:
ListActivitiesResponse

public static interface ListActivitiesResponse.Builder extends SfnResponse.Builder, SdkPojo, CopyableBuilder<ListActivitiesResponse.Builder,ListActivitiesResponse>
  • Method Details

    • activities

      The list of activities.

      Parameters:
      activities - The list of activities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activities

      The list of activities.

      Parameters:
      activities - The list of activities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activities

      The list of activities.

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

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

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

      ListActivitiesResponse.Builder nextToken(String nextToken)

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.