Interface UpdateRealtimeLogConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<UpdateRealtimeLogConfigRequest.Builder,,UpdateRealtimeLogConfigRequest> SdkBuilder<UpdateRealtimeLogConfigRequest.Builder,,UpdateRealtimeLogConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRealtimeLogConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for 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.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.The name for 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaEndPoint.builder().When the
Consumercompletes,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
The name for this real-time log configuration.
- Parameters:
name- The name for this real-time log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) for this real-time log configuration.
- Parameters:
arn- The Amazon Resource Name (ARN) for 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. You must provide 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. You must provide an integer between 1 and 100, inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRealtimeLogConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRealtimeLogConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-