Interface CreateRetrieverRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRetrieverRequest.Builder,CreateRetrieverRequest>,QBusinessRequest.Builder,SdkBuilder<CreateRetrieverRequest.Builder,CreateRetrieverRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRetrieverRequest
public static interface CreateRetrieverRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<CreateRetrieverRequest.Builder,CreateRetrieverRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRetrieverRequest.BuilderapplicationId(String applicationId)The identifier of your Amazon Q application.CreateRetrieverRequest.BuilderclientToken(String clientToken)A token that you provide to identify the request to create your Amazon Q application retriever.default CreateRetrieverRequest.Builderconfiguration(Consumer<RetrieverConfiguration.Builder> configuration)Sets the value of the Configuration property for this object.CreateRetrieverRequest.Builderconfiguration(RetrieverConfiguration configuration)Sets the value of the Configuration property for this object.CreateRetrieverRequest.BuilderdisplayName(String displayName)The name of your retriever.CreateRetrieverRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRetrieverRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRetrieverRequest.BuilderroleArn(String roleArn)The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.CreateRetrieverRequest.Buildertags(Collection<Tag> tags)A list of key-value pairs that identify or categorize the retriever.CreateRetrieverRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of key-value pairs that identify or categorize the retriever.CreateRetrieverRequest.Buildertags(Tag... tags)A list of key-value pairs that identify or categorize the retriever.CreateRetrieverRequest.Buildertype(String type)The type of retriever you are using.CreateRetrieverRequest.Buildertype(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, sdkFields
-
-
-
-
Method Detail
-
applicationId
CreateRetrieverRequest.Builder applicationId(String applicationId)
The identifier of your Amazon Q application.
- Parameters:
applicationId- The identifier of your Amazon Q application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateRetrieverRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create your Amazon Q application retriever.
- Parameters:
clientToken- A token that you provide to identify the request to create your Amazon Q application retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
CreateRetrieverRequest.Builder configuration(RetrieverConfiguration 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.Builderavoiding the need to create one manually viaRetrieverConfiguration.builder().When the
Consumercompletes,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:
configuration(RetrieverConfiguration)
-
displayName
CreateRetrieverRequest.Builder displayName(String 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.
-
roleArn
CreateRetrieverRequest.Builder roleArn(String roleArn)
The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.
- Parameters:
roleArn- The ARN of an IAM role used by Amazon Q 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.
-
tags
CreateRetrieverRequest.Builder tags(Collection<Tag> 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
CreateRetrieverRequest.Builder tags(Tag... 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
CreateRetrieverRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
type
CreateRetrieverRequest.Builder type(String 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:
RetrieverType,RetrieverType
-
type
CreateRetrieverRequest.Builder type(RetrieverType 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:
RetrieverType,RetrieverType
-
overrideConfiguration
CreateRetrieverRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRetrieverRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-