Interface GetWebExperienceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWebExperienceResponse.Builder,GetWebExperienceResponse>,QBusinessResponse.Builder,SdkBuilder<GetWebExperienceResponse.Builder,GetWebExperienceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetWebExperienceResponse
public static interface GetWebExperienceResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetWebExperienceResponse.Builder,GetWebExperienceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetWebExperienceResponse.BuilderapplicationId(String applicationId)The identifier of the Amazon Q application linked to the web experience.default GetWebExperienceResponse.BuilderauthenticationConfiguration(Consumer<WebExperienceAuthConfiguration.Builder> authenticationConfiguration)The authentication configuration information for your Amazon Q web experience.GetWebExperienceResponse.BuilderauthenticationConfiguration(WebExperienceAuthConfiguration authenticationConfiguration)The authentication configuration information for your Amazon Q web experience.GetWebExperienceResponse.BuildercreatedAt(Instant createdAt)The Unix timestamp when the retriever was created.GetWebExperienceResponse.BuilderdefaultEndpoint(String defaultEndpoint)The endpoint of your Amazon Q web experience.default GetWebExperienceResponse.Buildererror(Consumer<ErrorDetail.Builder> error)When theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.GetWebExperienceResponse.Buildererror(ErrorDetail error)When theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.GetWebExperienceResponse.BuildersamplePromptsControlMode(String samplePromptsControlMode)Determines whether sample prompts are enabled in the web experience for an end user.GetWebExperienceResponse.BuildersamplePromptsControlMode(WebExperienceSamplePromptsControlMode samplePromptsControlMode)Determines whether sample prompts are enabled in the web experience for an end user.GetWebExperienceResponse.Builderstatus(String status)The current status of the Amazon Q web experience.GetWebExperienceResponse.Builderstatus(WebExperienceStatus status)The current status of the Amazon Q web experience.GetWebExperienceResponse.Buildersubtitle(String subtitle)The subtitle for your Amazon Q web experience.GetWebExperienceResponse.Buildertitle(String title)The title for your Amazon Q web experience.GetWebExperienceResponse.BuilderupdatedAt(Instant updatedAt)The Unix timestamp when the data source connector was last updated.GetWebExperienceResponse.BuilderwebExperienceArn(String webExperienceArn)The Amazon Resource Name (ARN) of the role with the permission to access the Amazon Q web experience and required resources.GetWebExperienceResponse.BuilderwebExperienceId(String webExperienceId)The identifier of the Amazon Q web experience.GetWebExperienceResponse.BuilderwelcomeMessage(String welcomeMessage)The customized welcome message for end users of an Amazon Q web experience.-
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
-
applicationId
GetWebExperienceResponse.Builder applicationId(String applicationId)
The identifier of the Amazon Q application linked to the web experience.
- Parameters:
applicationId- The identifier of the Amazon Q application linked to the web experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfiguration
GetWebExperienceResponse.Builder authenticationConfiguration(WebExperienceAuthConfiguration authenticationConfiguration)
The authentication configuration information for your Amazon Q web experience.
- Parameters:
authenticationConfiguration- The authentication configuration information for your Amazon Q web experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfiguration
default GetWebExperienceResponse.Builder authenticationConfiguration(Consumer<WebExperienceAuthConfiguration.Builder> authenticationConfiguration)
The authentication configuration information for your Amazon Q web experience.
This is a convenience method that creates an instance of theWebExperienceAuthConfiguration.Builderavoiding the need to create one manually viaWebExperienceAuthConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthenticationConfiguration(WebExperienceAuthConfiguration).- Parameters:
authenticationConfiguration- a consumer that will call methods onWebExperienceAuthConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authenticationConfiguration(WebExperienceAuthConfiguration)
-
createdAt
GetWebExperienceResponse.Builder createdAt(Instant createdAt)
The Unix timestamp when the retriever was created.
- Parameters:
createdAt- The Unix timestamp when the retriever was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultEndpoint
GetWebExperienceResponse.Builder defaultEndpoint(String defaultEndpoint)
The endpoint of your Amazon Q web experience.
- Parameters:
defaultEndpoint- The endpoint of your Amazon Q web experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
GetWebExperienceResponse.Builder error(ErrorDetail error)
When the
Statusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.- Parameters:
error- When theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default GetWebExperienceResponse.Builder error(Consumer<ErrorDetail.Builder> error)
When the
This is a convenience method that creates an instance of theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.ErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetail).- Parameters:
error- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(ErrorDetail)
-
samplePromptsControlMode
GetWebExperienceResponse.Builder samplePromptsControlMode(String samplePromptsControlMode)
Determines whether sample prompts are enabled in the web experience for an end user.
- Parameters:
samplePromptsControlMode- Determines whether sample prompts are enabled in the web experience for an end user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WebExperienceSamplePromptsControlMode,WebExperienceSamplePromptsControlMode
-
samplePromptsControlMode
GetWebExperienceResponse.Builder samplePromptsControlMode(WebExperienceSamplePromptsControlMode samplePromptsControlMode)
Determines whether sample prompts are enabled in the web experience for an end user.
- Parameters:
samplePromptsControlMode- Determines whether sample prompts are enabled in the web experience for an end user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WebExperienceSamplePromptsControlMode,WebExperienceSamplePromptsControlMode
-
status
GetWebExperienceResponse.Builder status(String status)
The current status of the Amazon Q web experience. When the
Statusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.- Parameters:
status- The current status of the Amazon Q web experience. When theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WebExperienceStatus,WebExperienceStatus
-
status
GetWebExperienceResponse.Builder status(WebExperienceStatus status)
The current status of the Amazon Q web experience. When the
Statusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.- Parameters:
status- The current status of the Amazon Q web experience. When theStatusfield value isFAILED, theErrorMessagefield contains a description of the error that caused the data source connector to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WebExperienceStatus,WebExperienceStatus
-
subtitle
GetWebExperienceResponse.Builder subtitle(String subtitle)
The subtitle for your Amazon Q web experience.
- Parameters:
subtitle- The subtitle for your Amazon Q web experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
GetWebExperienceResponse.Builder title(String title)
The title for your Amazon Q web experience.
- Parameters:
title- The title for your Amazon Q web experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
GetWebExperienceResponse.Builder updatedAt(Instant updatedAt)
The Unix timestamp when the data source connector was last updated.
- Parameters:
updatedAt- The Unix timestamp when the data source connector was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webExperienceArn
GetWebExperienceResponse.Builder webExperienceArn(String webExperienceArn)
The Amazon Resource Name (ARN) of the role with the permission to access the Amazon Q web experience and required resources.
- Parameters:
webExperienceArn- The Amazon Resource Name (ARN) of the role with the permission to access the Amazon Q web experience and required resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webExperienceId
GetWebExperienceResponse.Builder webExperienceId(String webExperienceId)
The identifier of the Amazon Q web experience.
- Parameters:
webExperienceId- The identifier of the Amazon Q web experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
welcomeMessage
GetWebExperienceResponse.Builder welcomeMessage(String welcomeMessage)
The customized welcome message for end users of an Amazon Q web experience.
- Parameters:
welcomeMessage- The customized welcome message for end users of an Amazon Q web experience.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-