Interface GetMigrationsResponse.Builder

  • Method Details

    • migrationSummaries

      GetMigrationsResponse.Builder migrationSummaries(Collection<MigrationSummary> migrationSummaries)

      An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the migrationId from the summary in a call to the operation.

      Parameters:
      migrationSummaries - An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the migrationId from the summary in a call to the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationSummaries

      GetMigrationsResponse.Builder migrationSummaries(MigrationSummary... migrationSummaries)

      An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the migrationId from the summary in a call to the operation.

      Parameters:
      migrationSummaries - An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the migrationId from the summary in a call to the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • migrationSummaries

      GetMigrationsResponse.Builder migrationSummaries(Consumer<MigrationSummary.Builder>... migrationSummaries)

      An array of summaries for migrations from Amazon Lex V1 to Amazon Lex V2. To see details of the migration, use the migrationId from the summary in a call to the operation.

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

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

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

      GetMigrationsResponse.Builder nextToken(String nextToken)

      If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of migrations.

      Parameters:
      nextToken - If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of migrations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.