Interface ListApplicationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>,M2Response.Builder,SdkBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListApplicationsResponse
public static interface ListApplicationsResponse.Builder extends M2Response.Builder, SdkPojo, CopyableBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApplicationsResponse.Builderapplications(Collection<ApplicationSummary> applications)Returns a list of summary details for all the applications in a runtime environment.ListApplicationsResponse.Builderapplications(Consumer<ApplicationSummary.Builder>... applications)Returns a list of summary details for all the applications in a runtime environment.ListApplicationsResponse.Builderapplications(ApplicationSummary... applications)Returns a list of summary details for all the applications in a runtime environment.ListApplicationsResponse.BuildernextToken(String nextToken)A pagination token that's returned when the response doesn't contain all applications.-
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
-
applications
ListApplicationsResponse.Builder applications(Collection<ApplicationSummary> applications)
Returns a list of summary details for all the applications in a runtime environment.
- Parameters:
applications- Returns a list of summary details for all the applications in a runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
ListApplicationsResponse.Builder applications(ApplicationSummary... applications)
Returns a list of summary details for all the applications in a runtime environment.
- Parameters:
applications- Returns a list of summary details for all the applications in a runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
ListApplicationsResponse.Builder applications(Consumer<ApplicationSummary.Builder>... applications)
Returns a list of summary details for all the applications in a runtime environment.
This is a convenience method that creates an instance of theApplicationSummary.Builderavoiding the need to create one manually viaApplicationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#applications(List.) - Parameters:
applications- a consumer that will call methods onApplicationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#applications(java.util.Collection)
-
nextToken
ListApplicationsResponse.Builder nextToken(String nextToken)
A pagination token that's returned when the response doesn't contain all applications.
- Parameters:
nextToken- A pagination token that's returned when the response doesn't contain all applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-