Interface ListComponentsResponse.Builder
- All Superinterfaces:
AmplifyUiBuilderResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListComponentsResponse.Builder,
,ListComponentsResponse> SdkBuilder<ListComponentsResponse.Builder,
,ListComponentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListComponentsResponse
public static interface ListComponentsResponse.Builder
extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentities
(Collection<ComponentSummary> entities) The list of components for the Amplify app.entities
(Consumer<ComponentSummary.Builder>... entities) The list of components for the Amplify app.entities
(ComponentSummary... entities) The list of components for the Amplify app.The pagination token that's included if more results are available.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
entities
The list of components for the Amplify app.
- Parameters:
entities
- The list of components for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The list of components for the Amplify app.
- Parameters:
entities
- The list of components for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The list of components for the Amplify app.
This is a convenience method that creates an instance of theComponentSummary.Builder
avoiding the need to create one manually viaComponentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentities(List<ComponentSummary>)
.- Parameters:
entities
- a consumer that will call methods onComponentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's included if more results are available.
- Parameters:
nextToken
- The pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-