Interface RealtimeLogConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RealtimeLogConfig.Builder,
,RealtimeLogConfig> SdkBuilder<RealtimeLogConfig.Builder,
,RealtimeLogConfig> SdkPojo
- Enclosing class:
RealtimeLogConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of this real-time log configuration.endPoints
(Collection<EndPoint> endPoints) Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.endPoints
(Consumer<EndPoint.Builder>... endPoints) Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.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.fields
(Collection<String> fields) A list of fields that are included in each real-time log record.The unique name of this real-time log configuration.samplingRate
(Long samplingRate) The sampling rate for this real-time log configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of this real-time log configuration.
- Parameters:
arn
- The Amazon Resource Name (ARN) of this real-time log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The unique name of this real-time log configuration.
- Parameters:
name
- The unique name of this real-time log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endPoints
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
This is a convenience method that creates an instance of theEndPoint.Builder
avoiding the need to create one manually viaEndPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendPoints(List<EndPoint>)
.- Parameters:
endPoints
- a consumer that will call methods onEndPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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. 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-