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