Class CfnDataAccessorProps.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnDataAccessorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAccessorProps>
- Enclosing interface:
CfnDataAccessorProps
@Stability(Stable)
public static final class CfnDataAccessorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAccessorProps>
A builder for
CfnDataAccessorProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionConfigurations
(List<? extends Object> actionConfigurations) Sets the value ofCfnDataAccessorProps.getActionConfigurations()
actionConfigurations
(IResolvable actionConfigurations) Sets the value ofCfnDataAccessorProps.getActionConfigurations()
applicationId
(String applicationId) Sets the value ofCfnDataAccessorProps.getApplicationId()
authenticationDetail
(IResolvable authenticationDetail) Sets the value ofCfnDataAccessorProps.getAuthenticationDetail()
authenticationDetail
(CfnDataAccessor.DataAccessorAuthenticationDetailProperty authenticationDetail) Sets the value ofCfnDataAccessorProps.getAuthenticationDetail()
build()
Builds the configured instance.displayName
(String displayName) Sets the value ofCfnDataAccessorProps.getDisplayName()
Sets the value ofCfnDataAccessorProps.getPrincipal()
Sets the value ofCfnDataAccessorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionConfigurations
@Stability(Stable) public CfnDataAccessorProps.Builder actionConfigurations(IResolvable actionConfigurations) Sets the value ofCfnDataAccessorProps.getActionConfigurations()
- Parameters:
actionConfigurations
- A list of action configurations specifying the allowed actions and any associated filters. This parameter is required.- Returns:
this
-
actionConfigurations
@Stability(Stable) public CfnDataAccessorProps.Builder actionConfigurations(List<? extends Object> actionConfigurations) Sets the value ofCfnDataAccessorProps.getActionConfigurations()
- Parameters:
actionConfigurations
- A list of action configurations specifying the allowed actions and any associated filters. This parameter is required.- Returns:
this
-
applicationId
Sets the value ofCfnDataAccessorProps.getApplicationId()
- Parameters:
applicationId
- The unique identifier of the Amazon Q Business application. This parameter is required.- Returns:
this
-
displayName
Sets the value ofCfnDataAccessorProps.getDisplayName()
- Parameters:
displayName
- The friendly name of the data accessor. This parameter is required.- Returns:
this
-
principal
Sets the value ofCfnDataAccessorProps.getPrincipal()
- Parameters:
principal
- The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor. This parameter is required.- Returns:
this
-
authenticationDetail
@Stability(Stable) public CfnDataAccessorProps.Builder authenticationDetail(IResolvable authenticationDetail) Sets the value ofCfnDataAccessorProps.getAuthenticationDetail()
- Parameters:
authenticationDetail
- The authentication configuration details for the data accessor. This specifies how the ISV authenticates when accessing data through this data accessor.- Returns:
this
-
authenticationDetail
@Stability(Stable) public CfnDataAccessorProps.Builder authenticationDetail(CfnDataAccessor.DataAccessorAuthenticationDetailProperty authenticationDetail) Sets the value ofCfnDataAccessorProps.getAuthenticationDetail()
- Parameters:
authenticationDetail
- The authentication configuration details for the data accessor. This specifies how the ISV authenticates when accessing data through this data accessor.- Returns:
this
-
tags
Sets the value ofCfnDataAccessorProps.getTags()
- Parameters:
tags
- The tags to associate with the data accessor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataAccessorProps>
- Returns:
- a new instance of
CfnDataAccessorProps
- Throws:
NullPointerException
- if any required attribute was not provided
-