Interface CreateDataAccessorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDataAccessorRequest.Builder,,CreateDataAccessorRequest> QBusinessRequest.Builder,SdkBuilder<CreateDataAccessorRequest.Builder,,CreateDataAccessorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDataAccessorRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionConfigurations(Collection<ActionConfiguration> actionConfigurations) A list of action configurations specifying the allowed actions and any associated filters.actionConfigurations(Consumer<ActionConfiguration.Builder>... actionConfigurations) A list of action configurations specifying the allowed actions and any associated filters.actionConfigurations(ActionConfiguration... actionConfigurations) A list of action configurations specifying the allowed actions and any associated filters.applicationId(String applicationId) The unique identifier of the Amazon Q Business application.authenticationDetail(Consumer<DataAccessorAuthenticationDetail.Builder> authenticationDetail) The authentication configuration details for the data accessor.authenticationDetail(DataAccessorAuthenticationDetail authenticationDetail) The authentication configuration details for the data accessor.clientToken(String clientToken) A unique, case-sensitive identifier you provide to ensure idempotency of the request.displayName(String displayName) A friendly name for the data accessor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role for the ISV that will be accessing the data.tags(Collection<Tag> tags) The tags to associate with the data accessor.tags(Consumer<Tag.Builder>... tags) The tags to associate with the data accessor.The tags to associate with the data accessor.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The unique identifier of the Amazon Q Business application.
- Parameters:
applicationId- The unique identifier of the Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The Amazon Resource Name (ARN) of the IAM role for the ISV that will be accessing the data.
- Parameters:
principal- The Amazon Resource Name (ARN) of the IAM role for the ISV that will be accessing the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConfigurations
CreateDataAccessorRequest.Builder actionConfigurations(Collection<ActionConfiguration> actionConfigurations) A list of action configurations specifying the allowed actions and any associated filters.
- Parameters:
actionConfigurations- A list of action configurations specifying the allowed actions and any associated filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConfigurations
A list of action configurations specifying the allowed actions and any associated filters.
- Parameters:
actionConfigurations- A list of action configurations specifying the allowed actions and any associated filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConfigurations
CreateDataAccessorRequest.Builder actionConfigurations(Consumer<ActionConfiguration.Builder>... actionConfigurations) A list of action configurations specifying the allowed actions and any associated filters.
This is a convenience method that creates an instance of theActionConfiguration.Builderavoiding the need to create one manually viaActionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionConfigurations(List<ActionConfiguration>).- Parameters:
actionConfigurations- a consumer that will call methods onActionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier you provide to ensure idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier you provide to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
A friendly name for the data accessor.
- Parameters:
displayName- A friendly name for the data accessor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationDetail
CreateDataAccessorRequest.Builder authenticationDetail(DataAccessorAuthenticationDetail authenticationDetail) The authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.
- Parameters:
authenticationDetail- The authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationDetail
default CreateDataAccessorRequest.Builder authenticationDetail(Consumer<DataAccessorAuthenticationDetail.Builder> authenticationDetail) The authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.
This is a convenience method that creates an instance of theDataAccessorAuthenticationDetail.Builderavoiding the need to create one manually viaDataAccessorAuthenticationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthenticationDetail(DataAccessorAuthenticationDetail).- Parameters:
authenticationDetail- a consumer that will call methods onDataAccessorAuthenticationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to associate with the data accessor.
- Parameters:
tags- The tags to associate with the data accessor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the data accessor.
- Parameters:
tags- The tags to associate with the data accessor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the data accessor.
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 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
CreateDataAccessorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDataAccessorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-