Interface ListContextChangesResponse.Builder

  • Method Details

    • contextChanges

      The context entries that were added or removed.

      Parameters:
      contextChanges - The context entries that were added or removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextChanges

      ListContextChangesResponse.Builder contextChanges(ContextChange... contextChanges)

      The context entries that were added or removed.

      Parameters:
      contextChanges - The context entries that were added or removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextChanges

      The context entries that were added or removed.

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

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

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

      ListContextChangesResponse.Builder fromVersionId(String fromVersionId)

      The version that the changes start from.

      Parameters:
      fromVersionId - The version that the changes start from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toVersionId

      ListContextChangesResponse.Builder toVersionId(String toVersionId)

      The version that the changes bring the context entries up to. To get later changes, specify this value as FromVersionId in your next request. All pages of the same request return the same version.

      Parameters:
      toVersionId - The version that the changes bring the context entries up to. To get later changes, specify this value as FromVersionId in your next request. All pages of the same request return the same version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token for the next page of results.

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