Interface ListApplicationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>,EmrServerlessResponse.Builder,SdkBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListApplicationsResponse
public static interface ListApplicationsResponse.Builder extends EmrServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApplicationsResponse.Builderapplications(Collection<ApplicationSummary> applications)The output lists the specified applications.ListApplicationsResponse.Builderapplications(Consumer<ApplicationSummary.Builder>... applications)The output lists the specified applications.ListApplicationsResponse.Builderapplications(ApplicationSummary... applications)The output lists the specified applications.ListApplicationsResponse.BuildernextToken(String nextToken)The output displays the token for the next set of application results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessResponse.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)
The output lists the specified applications.
- Parameters:
applications- The output lists the specified applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
ListApplicationsResponse.Builder applications(ApplicationSummary... applications)
The output lists the specified applications.
- Parameters:
applications- The output lists the specified applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
ListApplicationsResponse.Builder applications(Consumer<ApplicationSummary.Builder>... applications)
The output lists the specified applications.
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)
The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.
- Parameters:
nextToken- The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-