Interface RealtimeLogConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RealtimeLogConfig.Builder,RealtimeLogConfig>,SdkBuilder<RealtimeLogConfig.Builder,RealtimeLogConfig>,SdkPojo
- Enclosing class:
- RealtimeLogConfig
@Mutable @NotThreadSafe public static interface RealtimeLogConfig.Builder extends SdkPojo, CopyableBuilder<RealtimeLogConfig.Builder,RealtimeLogConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RealtimeLogConfig.Builderarn(String arn)The Amazon Resource Name (ARN) of this real-time log configuration.RealtimeLogConfig.BuilderendPoints(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.RealtimeLogConfig.BuilderendPoints(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.RealtimeLogConfig.BuilderendPoints(EndPoint... endPoints)Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.RealtimeLogConfig.Builderfields(String... fields)A list of fields that are included in each real-time log record.RealtimeLogConfig.Builderfields(Collection<String> fields)A list of fields that are included in each real-time log record.RealtimeLogConfig.Buildername(String name)The unique name of this real-time log configuration.RealtimeLogConfig.BuildersamplingRate(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
RealtimeLogConfig.Builder arn(String 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
RealtimeLogConfig.Builder name(String 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
RealtimeLogConfig.Builder samplingRate(Long 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
RealtimeLogConfig.Builder 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.
- 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
RealtimeLogConfig.Builder endPoints(EndPoint... 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
RealtimeLogConfig.Builder 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.
This is a convenience method that creates an instance of theEndPoint.Builderavoiding the need to create one manually viaEndPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#endPoints(List.) - 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:
#endPoints(java.util.Collection)
-
fields
RealtimeLogConfig.Builder fields(Collection<String> 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
RealtimeLogConfig.Builder fields(String... 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.
-
-