Class CfnPermissionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnPermissionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionMixinProps>
- Enclosing interface:
CfnPermissionMixinProps
@Stability(Stable)
public static final class CfnPermissionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionMixinProps>
A builder for
CfnPermissionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPermissionMixinProps.getActions()applicationId(String applicationId) Sets the value ofCfnPermissionMixinProps.getApplicationId()build()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnPermissionMixinProps.getConditions()conditions(IResolvable conditions) Sets the value ofCfnPermissionMixinProps.getConditions()Sets the value ofCfnPermissionMixinProps.getPrincipal()statementId(String statementId) Sets the value ofCfnPermissionMixinProps.getStatementId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnPermissionMixinProps.getActions()- Parameters:
actions- The list of Amazon Q Business actions that the ISV is allowed to perform.- Returns:
this
-
applicationId
Sets the value ofCfnPermissionMixinProps.getApplicationId()- Parameters:
applicationId- The unique identifier of the Amazon Q Business application.- Returns:
this
-
conditions
Sets the value ofCfnPermissionMixinProps.getConditions()- Parameters:
conditions- the value to be set.- Returns:
this
-
conditions
@Stability(Stable) public CfnPermissionMixinProps.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnPermissionMixinProps.getConditions()- Parameters:
conditions- the value to be set.- Returns:
this
-
principal
Sets the value ofCfnPermissionMixinProps.getPrincipal()- Parameters:
principal- Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.- Returns:
this
-
statementId
Sets the value ofCfnPermissionMixinProps.getStatementId()- Parameters:
statementId- A unique identifier for the policy statement.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPermissionMixinProps>- Returns:
- a new instance of
CfnPermissionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-