public static final class CfnRealtimeLogConfig.KinesisStreamConfigProperty.Builder
extends java.lang.Object
CfnRealtimeLogConfig.KinesisStreamConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRealtimeLogConfig.KinesisStreamConfigProperty |
build()
Builds the configured instance.
|
CfnRealtimeLogConfig.KinesisStreamConfigProperty.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnRealtimeLogConfig.KinesisStreamConfigProperty.getRoleArn() |
CfnRealtimeLogConfig.KinesisStreamConfigProperty.Builder |
streamArn(java.lang.String streamArn)
Sets the value of
CfnRealtimeLogConfig.KinesisStreamConfigProperty.getStreamArn() |
public CfnRealtimeLogConfig.KinesisStreamConfigProperty.Builder roleArn(java.lang.String roleArn)
CfnRealtimeLogConfig.KinesisStreamConfigProperty.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. This parameter is required.
For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide .this
public CfnRealtimeLogConfig.KinesisStreamConfigProperty.Builder streamArn(java.lang.String streamArn)
CfnRealtimeLogConfig.KinesisStreamConfigProperty.getStreamArn()
streamArn
- The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data. This parameter is required.this
public CfnRealtimeLogConfig.KinesisStreamConfigProperty build()
CfnRealtimeLogConfig.KinesisStreamConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided