Interface ListWebExperiencesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWebExperiencesResponse.Builder,
,ListWebExperiencesResponse> QBusinessResponse.Builder
,SdkBuilder<ListWebExperiencesResponse.Builder,
,ListWebExperiencesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWebExperiencesResponse
@Mutable
@NotThreadSafe
public static interface ListWebExperiencesResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListWebExperiencesResponse.Builder,ListWebExperiencesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.webExperiences
(Collection<WebExperience> webExperiences) An array of summary information for one or more Amazon Q Business experiences.webExperiences
(Consumer<WebExperience.Builder>... webExperiences) An array of summary information for one or more Amazon Q Business experiences.webExperiences
(WebExperience... webExperiences) An array of summary information for one or more Amazon Q Business experiences.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
webExperiences
An array of summary information for one or more Amazon Q Business experiences.
- Parameters:
webExperiences
- An array of summary information for one or more Amazon Q Business experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webExperiences
An array of summary information for one or more Amazon Q Business experiences.
- Parameters:
webExperiences
- An array of summary information for one or more Amazon Q Business experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webExperiences
ListWebExperiencesResponse.Builder webExperiences(Consumer<WebExperience.Builder>... webExperiences) An array of summary information for one or more Amazon Q Business experiences.
This is a convenience method that creates an instance of theWebExperience.Builder
avoiding the need to create one manually viaWebExperience.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebExperiences(List<WebExperience>)
.- Parameters:
webExperiences
- a consumer that will call methods onWebExperience.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.
- Parameters:
nextToken
- If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-