Interface ListApplicationVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListApplicationVersionsResponse.Builder,
,ListApplicationVersionsResponse> SdkBuilder<ListApplicationVersionsResponse.Builder,
,ListApplicationVersionsResponse> SdkPojo
,SdkResponse.Builder
,ServerlessApplicationRepositoryResponse.Builder
- Enclosing class:
ListApplicationVersionsResponse
public static interface ListApplicationVersionsResponse.Builder
extends ServerlessApplicationRepositoryResponse.Builder, SdkPojo, CopyableBuilder<ListApplicationVersionsResponse.Builder,ListApplicationVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to request the next page of results.versions
(Collection<VersionSummary> versions) An array of version summaries for the application.versions
(Consumer<VersionSummary.Builder>... versions) An array of version summaries for the application.versions
(VersionSummary... versions) An array of version summaries for the application.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
Methods inherited from interface software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The token to request the next page of results.
- Parameters:
nextToken
- The token to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
An array of version summaries for the application.
- Parameters:
versions
- An array of version summaries for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
An array of version summaries for the application.
- Parameters:
versions
- An array of version summaries for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
An array of version summaries for the application.
This is a convenience method that creates an instance of theVersionSummary.Builder
avoiding the need to create one manually viaVersionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversions(List<VersionSummary>)
.- Parameters:
versions
- a consumer that will call methods onVersionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-