Interface ListTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTemplatesResponse.Builder,
,ListTemplatesResponse> MigrationHubOrchestratorResponse.Builder
,SdkBuilder<ListTemplatesResponse.Builder,
,ListTemplatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTemplatesResponse
public static interface ListTemplatesResponse.Builder
extends MigrationHubOrchestratorResponse.Builder, SdkPojo, CopyableBuilder<ListTemplatesResponse.Builder,ListTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token.templateSummary
(Collection<TemplateSummary> templateSummary) The summary of the template.templateSummary
(Consumer<TemplateSummary.Builder>... templateSummary) The summary of the template.templateSummary
(TemplateSummary... templateSummary) The summary of the template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhuborchestrator.model.MigrationHubOrchestratorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination token.
- Parameters:
nextToken
- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateSummary
The summary of the template.
- Parameters:
templateSummary
- The summary of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateSummary
The summary of the template.
- Parameters:
templateSummary
- The summary of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateSummary
The summary of the template.
This is a convenience method that creates an instance of theTemplateSummary.Builder
avoiding the need to create one manually viaTemplateSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplateSummary(List<TemplateSummary>)
.- Parameters:
templateSummary
- a consumer that will call methods onTemplateSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-