Interface CreateRealtimeLogConfigRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<CreateRealtimeLogConfigRequest.Builder,CreateRealtimeLogConfigRequest>,SdkBuilder<CreateRealtimeLogConfigRequest.Builder,CreateRealtimeLogConfigRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRealtimeLogConfigRequest
@Mutable @NotThreadSafe public static interface CreateRealtimeLogConfigRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<CreateRealtimeLogConfigRequest.Builder,CreateRealtimeLogConfigRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRealtimeLogConfigRequest.BuilderendPoints(Collection<EndPoint> endPoints)Contains information about the Amazon Kinesis data stream where you are sending real-time log data.CreateRealtimeLogConfigRequest.BuilderendPoints(Consumer<EndPoint.Builder>... endPoints)Contains information about the Amazon Kinesis data stream where you are sending real-time log data.CreateRealtimeLogConfigRequest.BuilderendPoints(EndPoint... endPoints)Contains information about the Amazon Kinesis data stream where you are sending real-time log data.CreateRealtimeLogConfigRequest.Builderfields(String... fields)A list of fields to include in each real-time log record.CreateRealtimeLogConfigRequest.Builderfields(Collection<String> fields)A list of fields to include in each real-time log record.CreateRealtimeLogConfigRequest.Buildername(String name)A unique name to identify this real-time log configuration.CreateRealtimeLogConfigRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRealtimeLogConfigRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRealtimeLogConfigRequest.BuildersamplingRate(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
endPoints
CreateRealtimeLogConfigRequest.Builder endPoints(Collection<EndPoint> 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
CreateRealtimeLogConfigRequest.Builder endPoints(EndPoint... 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
CreateRealtimeLogConfigRequest.Builder endPoints(Consumer<EndPoint.Builder>... 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 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
CreateRealtimeLogConfigRequest.Builder fields(Collection<String> 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
CreateRealtimeLogConfigRequest.Builder fields(String... 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
CreateRealtimeLogConfigRequest.Builder name(String 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
CreateRealtimeLogConfigRequest.Builder samplingRate(Long 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRealtimeLogConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-