Class CfnRealtimeLogConfig.EndPointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnRealtimeLogConfig.EndPointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRealtimeLogConfig.EndPointProperty>
- Enclosing interface:
CfnRealtimeLogConfig.EndPointProperty
@Stability(Stable)
public static final class CfnRealtimeLogConfig.EndPointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRealtimeLogConfig.EndPointProperty>
A builder for
CfnRealtimeLogConfig.EndPointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kinesisStreamConfig(IResolvable kinesisStreamConfig) Sets the value ofCfnRealtimeLogConfig.EndPointProperty.getKinesisStreamConfig()kinesisStreamConfig(CfnRealtimeLogConfig.KinesisStreamConfigProperty kinesisStreamConfig) Sets the value ofCfnRealtimeLogConfig.EndPointProperty.getKinesisStreamConfig()streamType(String streamType) Sets the value ofCfnRealtimeLogConfig.EndPointProperty.getStreamType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kinesisStreamConfig
@Stability(Stable) public CfnRealtimeLogConfig.EndPointProperty.Builder kinesisStreamConfig(IResolvable kinesisStreamConfig) Sets the value ofCfnRealtimeLogConfig.EndPointProperty.getKinesisStreamConfig()- Parameters:
kinesisStreamConfig- Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration. This parameter is required.- Returns:
this
-
kinesisStreamConfig
@Stability(Stable) public CfnRealtimeLogConfig.EndPointProperty.Builder kinesisStreamConfig(CfnRealtimeLogConfig.KinesisStreamConfigProperty kinesisStreamConfig) Sets the value ofCfnRealtimeLogConfig.EndPointProperty.getKinesisStreamConfig()- Parameters:
kinesisStreamConfig- Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration. This parameter is required.- Returns:
this
-
streamType
@Stability(Stable) public CfnRealtimeLogConfig.EndPointProperty.Builder streamType(String streamType) Sets the value ofCfnRealtimeLogConfig.EndPointProperty.getStreamType()- Parameters:
streamType- The type of data stream where you are sending real-time log data. This parameter is required. The only valid value isKinesis.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRealtimeLogConfig.EndPointProperty>- Returns:
- a new instance of
CfnRealtimeLogConfig.EndPointProperty - Throws:
NullPointerException- if any required attribute was not provided
-