@Stability(value=Stable) public static final class CfnRealtimeLogConfigProps.Builder extends Object implements software.amazon.jsii.Builder<CfnRealtimeLogConfigProps>
CfnRealtimeLogConfigProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRealtimeLogConfigProps |
build()
Builds the configured instance.
|
CfnRealtimeLogConfigProps.Builder |
endPoints(IResolvable endPoints)
Sets the value of
CfnRealtimeLogConfigProps.getEndPoints() |
CfnRealtimeLogConfigProps.Builder |
endPoints(List<? extends Object> endPoints)
Sets the value of
CfnRealtimeLogConfigProps.getEndPoints() |
CfnRealtimeLogConfigProps.Builder |
fields(List<String> fields)
Sets the value of
CfnRealtimeLogConfigProps.getFields() |
CfnRealtimeLogConfigProps.Builder |
name(String name)
Sets the value of
CfnRealtimeLogConfigProps.getName() |
CfnRealtimeLogConfigProps.Builder |
samplingRate(Number samplingRate)
Sets the value of
CfnRealtimeLogConfigProps.getSamplingRate() |
@Stability(value=Stable) public CfnRealtimeLogConfigProps.Builder endPoints(IResolvable endPoints)
CfnRealtimeLogConfigProps.getEndPoints()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.this@Stability(value=Stable) public CfnRealtimeLogConfigProps.Builder endPoints(List<? extends Object> endPoints)
CfnRealtimeLogConfigProps.getEndPoints()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.this@Stability(value=Stable) public CfnRealtimeLogConfigProps.Builder fields(List<String> fields)
CfnRealtimeLogConfigProps.getFields()fields - A list of fields that are included in each real-time log record. This parameter is required.
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 .
this@Stability(value=Stable) public CfnRealtimeLogConfigProps.Builder name(String name)
CfnRealtimeLogConfigProps.getName()name - The unique name of this real-time log configuration. This parameter is required.this@Stability(value=Stable) public CfnRealtimeLogConfigProps.Builder samplingRate(Number samplingRate)
CfnRealtimeLogConfigProps.getSamplingRate()samplingRate - The sampling rate for this real-time log configuration. This parameter is required.
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.this@Stability(value=Stable) public CfnRealtimeLogConfigProps build()
build in interface software.amazon.jsii.Builder<CfnRealtimeLogConfigProps>CfnRealtimeLogConfigPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.