public static final class CfnEventStreamProps.Builder
extends java.lang.Object
CfnEventStreamProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEventStreamProps.Builder |
applicationId(java.lang.String applicationId)
Sets the value of
CfnEventStreamProps.getApplicationId() |
CfnEventStreamProps |
build()
Builds the configured instance.
|
CfnEventStreamProps.Builder |
destinationStreamArn(java.lang.String destinationStreamArn)
Sets the value of
CfnEventStreamProps.getDestinationStreamArn() |
CfnEventStreamProps.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnEventStreamProps.getRoleArn() |
public CfnEventStreamProps.Builder applicationId(java.lang.String applicationId)
CfnEventStreamProps.getApplicationId()
applicationId
- The unique identifier for the Amazon Pinpoint application that you want to export data from. This parameter is required.this
public CfnEventStreamProps.Builder destinationStreamArn(java.lang.String destinationStreamArn)
CfnEventStreamProps.getDestinationStreamArn()
destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to. This parameter is required.
For a Kinesis data stream, the ARN format is: arn:aws:kinesis: region : account-id :stream/ stream_name
For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose: region : account-id :deliverystream/ stream_name
this
public CfnEventStreamProps.Builder roleArn(java.lang.String roleArn)
CfnEventStreamProps.getRoleArn()
roleArn
- The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account. This parameter is required.this
public CfnEventStreamProps build()
CfnEventStreamProps
java.lang.NullPointerException
- if any required attribute was not provided