Class CfnRealtimeLogConfigPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnRealtimeLogConfigPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRealtimeLogConfigPropsMixin>
- Enclosing class:
CfnRealtimeLogConfigPropsMixin
@Stability(Stable)
public static final class CfnRealtimeLogConfigPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRealtimeLogConfigPropsMixin>
A fluent builder for
CfnRealtimeLogConfigPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.endPoints(IResolvable endPoints) 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.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 CfnRealtimeLogConfigPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRealtimeLogConfigPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRealtimeLogConfigPropsMixin.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- See Also:
-
endPoints
@Stability(Stable) public CfnRealtimeLogConfigPropsMixin.Builder endPoints(List<? extends Object> 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- See Also:
-
fields
A list of fields that are included in each real-time log record.In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide .
- Parameters:
fields- A list of fields that are included in each real-time log record. This parameter is required.- Returns:
this- See Also:
-
name
The unique name of this real-time log configuration.- Parameters:
name- The unique name of this real-time log configuration. This parameter is required.- Returns:
this- See Also:
-
samplingRate
The sampling rate for this real-time log configuration.The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
- Parameters:
samplingRate- The sampling rate for this real-time log configuration. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRealtimeLogConfigPropsMixin>- Returns:
- a newly built instance of
CfnRealtimeLogConfigPropsMixin.
-