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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApplicationVersionsResponse.BuilderapplicationVersions(Collection<ApplicationVersionSummary> applicationVersions)The list of application versions.ListApplicationVersionsResponse.BuilderapplicationVersions(Consumer<ApplicationVersionSummary.Builder>... applicationVersions)The list of application versions.ListApplicationVersionsResponse.BuilderapplicationVersions(ApplicationVersionSummary... applicationVersions)The list of application versions.ListApplicationVersionsResponse.BuildernextToken(String 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.-
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 Detail
-
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.Builderavoiding the need to create one manually viaApplicationVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#applicationVersions(List.) - 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:
#applicationVersions(java.util.Collection)
-
nextToken
ListApplicationVersionsResponse.Builder nextToken(String 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.
-
-