Interface CreateRealtimeLogConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<CreateRealtimeLogConfigRequest.Builder,
,CreateRealtimeLogConfigRequest> SdkBuilder<CreateRealtimeLogConfigRequest.Builder,
,CreateRealtimeLogConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRealtimeLogConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionendPoints
(Collection<EndPoint> endPoints) Contains information about the Amazon Kinesis data stream where you are sending real-time log data.endPoints
(Consumer<EndPoint.Builder>... endPoints) Contains information about the Amazon Kinesis data stream where you are sending real-time log data.Contains information about the Amazon Kinesis data stream where you are sending real-time log data.A list of fields to include in each real-time log record.fields
(Collection<String> fields) A list of fields to include in each real-time log record.A unique name to identify this real-time log configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.samplingRate
(Long samplingRate) The sampling rate for this real-time log configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
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
-
endPoints
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- Parameters:
endPoints
- Contains information about the Amazon Kinesis data stream where you are sending real-time log data.- 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.
- Parameters:
endPoints
- Contains information about the Amazon Kinesis data stream where you are sending real-time log data.- 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.
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 to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
- Parameters:
fields
- A list of fields to include in each real-time log record.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 to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
- Parameters:
fields
- A list of fields to include in each real-time log record.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.
-
name
A unique name to identify this real-time log configuration.
- Parameters:
name
- A unique name to identify 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. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.
- Parameters:
samplingRate
- The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRealtimeLogConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRealtimeLogConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-