Class CfnRetrieverMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnRetrieverMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRetrieverMixinProps>
- Enclosing interface:
CfnRetrieverMixinProps
@Stability(Stable)
public static final class CfnRetrieverMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRetrieverMixinProps>
A builder for
CfnRetrieverMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnRetrieverMixinProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnRetrieverMixinProps.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnRetrieverMixinProps.getConfiguration()displayName(String displayName) Sets the value ofCfnRetrieverMixinProps.getDisplayName()Sets the value ofCfnRetrieverMixinProps.getRoleArn()Sets the value ofCfnRetrieverMixinProps.getTags()Sets the value ofCfnRetrieverMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnRetrieverMixinProps.getApplicationId()- Parameters:
applicationId- The identifier of the Amazon Q Business application using the retriever.- Returns:
this
-
configuration
Sets the value ofCfnRetrieverMixinProps.getConfiguration()- Parameters:
configuration- Provides information on how the retriever used for your Amazon Q Business application is configured.- Returns:
this
-
configuration
@Stability(Stable) public CfnRetrieverMixinProps.Builder configuration(CfnRetrieverPropsMixin.RetrieverConfigurationProperty configuration) Sets the value ofCfnRetrieverMixinProps.getConfiguration()- Parameters:
configuration- Provides information on how the retriever used for your Amazon Q Business application is configured.- Returns:
this
-
displayName
Sets the value ofCfnRetrieverMixinProps.getDisplayName()- Parameters:
displayName- The name of your retriever.- Returns:
this
-
roleArn
Sets the value ofCfnRetrieverMixinProps.getRoleArn()- Parameters:
roleArn- The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.- Returns:
this
-
tags
Sets the value ofCfnRetrieverMixinProps.getTags()- Parameters:
tags- A list of key-value pairs that identify or categorize the retriever. You can also use tags to help control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -- Returns:
this
-
type
Sets the value ofCfnRetrieverMixinProps.getType()- Parameters:
type- The type of your retriever.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRetrieverMixinProps>- Returns:
- a new instance of
CfnRetrieverMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-