Interface CreateRetrieverRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRetrieverRequest.Builder,
,CreateRetrieverRequest> QBusinessRequest.Builder
,SdkBuilder<CreateRetrieverRequest.Builder,
,CreateRetrieverRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRetrieverRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The identifier of your Amazon Q Business application.clientToken
(String clientToken) A token that you provide to identify the request to create your Amazon Q Business application retriever.default CreateRetrieverRequest.Builder
configuration
(Consumer<RetrieverConfiguration.Builder> configuration) Sets the value of the Configuration property for this object.configuration
(RetrieverConfiguration configuration) Sets the value of the Configuration property for this object.displayName
(String displayName) The name of your retriever.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.tags
(Collection<Tag> tags) A list of key-value pairs that identify or categorize the retriever.tags
(Consumer<Tag.Builder>... tags) A list of key-value pairs that identify or categorize the retriever.A list of key-value pairs that identify or categorize the retriever.The type of retriever you are using.type
(RetrieverType type) The type of retriever you are using.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The identifier of your Amazon Q Business application.
- Parameters:
applicationId
- The identifier of your Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of retriever you are using.
- Parameters:
type
- The type of retriever you are using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of retriever you are using.
- Parameters:
type
- The type of retriever you are using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
The name of your retriever.
- Parameters:
displayName
- The name of your retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Sets the value of the Configuration property for this object.- Parameters:
configuration
- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateRetrieverRequest.Builder configuration(Consumer<RetrieverConfiguration.Builder> configuration) Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of theRetrieverConfiguration.Builder
avoiding the need to create one manually viaRetrieverConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(RetrieverConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onRetrieverConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A token that you provide to identify the request to create your Amazon Q Business application retriever.
- Parameters:
clientToken
- A token that you provide to identify the request to create your Amazon Q Business application retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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: _ . : / = + - @.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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: _ . : / = + - @.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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: _ . : / = + - @.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateRetrieverRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRetrieverRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-