Interface ListThemesResponse.Builder
- All Superinterfaces:
AmplifyUiBuilderResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListThemesResponse.Builder,,ListThemesResponse> SdkBuilder<ListThemesResponse.Builder,,ListThemesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListThemesResponse
@Mutable
@NotThreadSafe
public static interface ListThemesResponse.Builder
extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<ListThemesResponse.Builder,ListThemesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentities(Collection<ThemeSummary> entities) The list of themes for the Amplify app.entities(Consumer<ThemeSummary.Builder>... entities) The list of themes for the Amplify app.entities(ThemeSummary... entities) The list of themes for the Amplify app.The pagination token that's returned if more results are available.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
entities
The list of themes for the Amplify app.
- Parameters:
entities- The list of themes for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The list of themes for the Amplify app.
- Parameters:
entities- The list of themes for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The list of themes for the Amplify app.
This is a convenience method that creates an instance of theThemeSummary.Builderavoiding the need to create one manually viaThemeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentities(List<ThemeSummary>).- Parameters:
entities- a consumer that will call methods onThemeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's returned if more results are available.
- Parameters:
nextToken- The pagination token that's returned if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-