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