Interface ListApplicationVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListApplicationVersionsResponse.Builder,
,ListApplicationVersionsResponse> M2Response.Builder
,SdkBuilder<ListApplicationVersionsResponse.Builder,
,ListApplicationVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListApplicationVersionsResponse
public static interface ListApplicationVersionsResponse.Builder
extends M2Response.Builder, SdkPojo, CopyableBuilder<ListApplicationVersionsResponse.Builder,ListApplicationVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationVersions
(Collection<ApplicationVersionSummary> applicationVersions) The list of application versions.applicationVersions
(Consumer<ApplicationVersionSummary.Builder>... applicationVersions) The list of application versions.applicationVersions
(ApplicationVersionSummary... applicationVersions) The list of application versions.If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.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
-
applicationVersions
ListApplicationVersionsResponse.Builder applicationVersions(Collection<ApplicationVersionSummary> applicationVersions) The list of application versions.
- Parameters:
applicationVersions
- The list of application versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationVersions
ListApplicationVersionsResponse.Builder applicationVersions(ApplicationVersionSummary... applicationVersions) The list of application versions.
- Parameters:
applicationVersions
- The list of application versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationVersions
ListApplicationVersionsResponse.Builder applicationVersions(Consumer<ApplicationVersionSummary.Builder>... applicationVersions) The list of application versions.
This is a convenience method that creates an instance of theApplicationVersionSummary.Builder
avoiding the need to create one manually viaApplicationVersionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationVersions(List<ApplicationVersionSummary>)
.- Parameters:
applicationVersions
- a consumer that will call methods onApplicationVersionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
- Parameters:
nextToken
- If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-