Interface ListWorldTemplatesResponse.Builder

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

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

    • templateSummaries

      ListWorldTemplatesResponse.Builder templateSummaries(Collection<TemplateSummary> templateSummaries)

      Summary information for templates.

      Parameters:
      templateSummaries - Summary information for templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateSummaries

      ListWorldTemplatesResponse.Builder templateSummaries(TemplateSummary... templateSummaries)

      Summary information for templates.

      Parameters:
      templateSummaries - Summary information for templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateSummaries

      ListWorldTemplatesResponse.Builder templateSummaries(Consumer<TemplateSummary.Builder>... templateSummaries)

      Summary information for templates.

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

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

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

      If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

      Parameters:
      nextToken - If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.