Class CfnReceiptRulePropsMixin.ConnectActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnReceiptRulePropsMixin.ConnectActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRulePropsMixin.ConnectActionProperty>
- Enclosing interface:
CfnReceiptRulePropsMixin.ConnectActionProperty
@Stability(Stable)
public static final class CfnReceiptRulePropsMixin.ConnectActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptRulePropsMixin.ConnectActionProperty>
A builder for
CfnReceiptRulePropsMixin.ConnectActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.iamRoleArn(String iamRoleArn) Sets the value ofCfnReceiptRulePropsMixin.ConnectActionProperty.getIamRoleArn()instanceArn(String instanceArn) Sets the value ofCfnReceiptRulePropsMixin.ConnectActionProperty.getInstanceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
iamRoleArn
@Stability(Stable) public CfnReceiptRulePropsMixin.ConnectActionProperty.Builder iamRoleArn(String iamRoleArn) Sets the value ofCfnReceiptRulePropsMixin.ConnectActionProperty.getIamRoleArn()- Parameters:
iamRoleArn- The Amazon Resource Name (ARN) of the IAM role to be used by Amazon Simple Email Service while starting email contacts to the Amazon Connect instance. This role should have permission to invokeconnect:StartEmailContactfor the given Amazon Connect instance.- Returns:
this
-
instanceArn
@Stability(Stable) public CfnReceiptRulePropsMixin.ConnectActionProperty.Builder instanceArn(String instanceArn) Sets the value ofCfnReceiptRulePropsMixin.ConnectActionProperty.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) for the Amazon Connect instance that Amazon SES integrates with for starting email contacts. For more information about Amazon Connect instances, see the Amazon Connect Administrator Guide- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReceiptRulePropsMixin.ConnectActionProperty>- Returns:
- a new instance of
CfnReceiptRulePropsMixin.ConnectActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-