Interface ListApplicationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>,QBusinessResponse.Builder,SdkBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListApplicationsResponse
public static interface ListApplicationsResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListApplicationsResponse.Builder,ListApplicationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApplicationsResponse.Builderapplications(Collection<Application> applications)An array of summary information on the configuration of one or more Amazon Q applications.ListApplicationsResponse.Builderapplications(Consumer<Application.Builder>... applications)An array of summary information on the configuration of one or more Amazon Q applications.ListApplicationsResponse.Builderapplications(Application... applications)An array of summary information on the configuration of one or more Amazon Q applications.ListApplicationsResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Q returns this token.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.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<Application> applications)
An array of summary information on the configuration of one or more Amazon Q applications.
- Parameters:
applications- An array of summary information on the configuration of one or more Amazon Q applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
ListApplicationsResponse.Builder applications(Application... applications)
An array of summary information on the configuration of one or more Amazon Q applications.
- Parameters:
applications- An array of summary information on the configuration of one or more Amazon Q applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
ListApplicationsResponse.Builder applications(Consumer<Application.Builder>... applications)
An array of summary information on the configuration of one or more Amazon Q applications.
This is a convenience method that creates an instance of theApplication.Builderavoiding the need to create one manually viaApplication.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 onApplication.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)
If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of applications.
- Parameters:
nextToken- If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-