Class CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty>
- Enclosing interface:
CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty
@Stability(Stable)
public static final class CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deliveryStreamArn
(String deliveryStreamArn) iamRoleArn
(String iamRoleArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryStreamArn
@Stability(Stable) public CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.Builder deliveryStreamArn(String deliveryStreamArn) Sets the value ofCfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.getDeliveryStreamArn()
- Parameters:
deliveryStreamArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that Amazon Pinpoint sends email events to. This parameter is required.- Returns:
this
-
iamRoleArn
@Stability(Stable) public CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.Builder iamRoleArn(String iamRoleArn) Sets the value ofCfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.getIamRoleArn()
- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role that Amazon Pinpoint uses when sending email events to the Amazon Kinesis Data Firehose stream. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty>
- Returns:
- a new instance of
CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-