Interface ActivitiesResponse.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ActivitiesResponse.Builder,ActivitiesResponse>, SdkBuilder<ActivitiesResponse.Builder,ActivitiesResponse>, SdkPojo
Enclosing class:
ActivitiesResponse

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

    • item

      An array of responses, one for each activity that was performed by the campaign.

      Parameters:
      item - An array of responses, one for each activity that was performed by the campaign.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • item

      An array of responses, one for each activity that was performed by the campaign.

      Parameters:
      item - An array of responses, one for each activity that was performed by the campaign.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • item

      An array of responses, one for each activity that was performed by the campaign.

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

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

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

      ActivitiesResponse.Builder nextToken(String nextToken)

      The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

      Parameters:
      nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.