Interface ListWebExperiencesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWebExperiencesResponse.Builder,ListWebExperiencesResponse>,QBusinessResponse.Builder,SdkBuilder<ListWebExperiencesResponse.Builder,ListWebExperiencesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListWebExperiencesResponse
public static interface ListWebExperiencesResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListWebExperiencesResponse.Builder,ListWebExperiencesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWebExperiencesResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of messages.ListWebExperiencesResponse.BuilderwebExperiences(Collection<WebExperience> webExperiences)An array of summary information for one or more Amazon Q experiences.ListWebExperiencesResponse.BuilderwebExperiences(Consumer<WebExperience.Builder>... webExperiences)An array of summary information for one or more Amazon Q experiences.ListWebExperiencesResponse.BuilderwebExperiences(WebExperience... webExperiences)An array of summary information for one or more Amazon Q 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListWebExperiencesResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Q 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 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.
-
webExperiences
ListWebExperiencesResponse.Builder webExperiences(Collection<WebExperience> webExperiences)
An array of summary information for one or more Amazon Q experiences.
- Parameters:
webExperiences- An array of summary information for one or more Amazon Q experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webExperiences
ListWebExperiencesResponse.Builder webExperiences(WebExperience... webExperiences)
An array of summary information for one or more Amazon Q experiences.
- Parameters:
webExperiences- An array of summary information for one or more Amazon Q 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 experiences.
This is a convenience method that creates an instance of theWebExperience.Builderavoiding the need to create one manually viaWebExperience.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#webExperiences(List.) - 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:
#webExperiences(java.util.Collection)
-
-