Class CfnRetrieverProps.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnRetrieverProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRetrieverProps>
- Enclosing interface:
CfnRetrieverProps
@Stability(Stable)
public static final class CfnRetrieverProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRetrieverProps>
A builder for
CfnRetrieverProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofCfnRetrieverProps.getApplicationId()
build()
Builds the configured instance.configuration
(IResolvable configuration) Sets the value ofCfnRetrieverProps.getConfiguration()
configuration
(CfnRetriever.RetrieverConfigurationProperty configuration) Sets the value ofCfnRetrieverProps.getConfiguration()
displayName
(String displayName) Sets the value ofCfnRetrieverProps.getDisplayName()
Sets the value ofCfnRetrieverProps.getRoleArn()
Sets the value ofCfnRetrieverProps.getTags()
Sets the value ofCfnRetrieverProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnRetrieverProps.getApplicationId()
- Parameters:
applicationId
- The identifier of the Amazon Q Business application using the retriever. This parameter is required.- Returns:
this
-
configuration
Sets the value ofCfnRetrieverProps.getConfiguration()
- Parameters:
configuration
- Provides information on how the retriever used for your Amazon Q Business application is configured. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnRetrieverProps.Builder configuration(CfnRetriever.RetrieverConfigurationProperty configuration) Sets the value ofCfnRetrieverProps.getConfiguration()
- Parameters:
configuration
- Provides information on how the retriever used for your Amazon Q Business application is configured. This parameter is required.- Returns:
this
-
displayName
Sets the value ofCfnRetrieverProps.getDisplayName()
- Parameters:
displayName
- The name of your retriever. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnRetrieverProps.getType()
- Parameters:
type
- The type of your retriever. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnRetrieverProps.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 ofCfnRetrieverProps.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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRetrieverProps>
- Returns:
- a new instance of
CfnRetrieverProps
- Throws:
NullPointerException
- if any required attribute was not provided
-