Class RealtimeLogConfig.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.RealtimeLogConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RealtimeLogConfig>
- Enclosing class:
RealtimeLogConfig
@Stability(Stable)
public static final class RealtimeLogConfig.Builder
extends Object
implements software.amazon.jsii.Builder<RealtimeLogConfig>
A fluent builder for
RealtimeLogConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static RealtimeLogConfig.Builder
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.A list of fields that are included in each real-time log record.realtimeLogConfigName
(String realtimeLogConfigName) The unique name of this real-time log configuration.samplingRate
(Number samplingRate) The sampling rate for this real-time log configuration.
-
Method Details
-
create
@Stability(Stable) public static RealtimeLogConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
RealtimeLogConfig.Builder
.
-
endPoints
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.- Parameters:
endPoints
- Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration. This parameter is required.- Returns:
this
-
fields
A list of fields that are included in each real-time log record.- Parameters:
fields
- A list of fields that are included in each real-time log record. This parameter is required.- Returns:
this
- See Also:
-
samplingRate
The sampling rate for this real-time log configuration.- Parameters:
samplingRate
- The sampling rate for this real-time log configuration. This parameter is required.- Returns:
this
-
realtimeLogConfigName
@Stability(Stable) public RealtimeLogConfig.Builder realtimeLogConfigName(String realtimeLogConfigName) The unique name of this real-time log configuration.Default: - the unique construct ID
- Parameters:
realtimeLogConfigName
- The unique name of this real-time log configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RealtimeLogConfig>
- Returns:
- a newly built instance of
RealtimeLogConfig
.
-