Class CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty>
- Enclosing interface:
CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) applicationId(String applicationId) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionFailurePolicy
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.Builder actionFailurePolicy(String actionFailurePolicy) Sets the value ofCfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.getActionFailurePolicy()- Parameters:
actionFailurePolicy- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call theqbusiness:BatchPutDocumentAPI.- Returns:
this
-
applicationId
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.Builder applicationId(String applicationId) Sets the value ofCfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.getApplicationId()- Parameters:
applicationId- The unique identifier of the Amazon Q Business application instance where the email content will be delivered.- Returns:
this
-
indexId
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.Builder indexId(String indexId) - Parameters:
indexId- The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.- Returns:
this
-
roleArn
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business. This role must have access to theqbusiness:BatchPutDocumentAPI for the given application and index.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSetPropsMixin.DeliverToQBusinessActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-