Interface CreateRealtimeLogConfigRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<CreateRealtimeLogConfigRequest.Builder,CreateRealtimeLogConfigRequest>
,SdkBuilder<CreateRealtimeLogConfigRequest.Builder,CreateRealtimeLogConfigRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateRealtimeLogConfigRequest
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.Builder
endPoints(Collection<EndPoint> endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.CreateRealtimeLogConfigRequest.Builder
endPoints(Consumer<EndPoint.Builder>... endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.CreateRealtimeLogConfigRequest.Builder
endPoints(EndPoint... endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.CreateRealtimeLogConfigRequest.Builder
fields(String... fields)
A list of fields to include in each real-time log record.CreateRealtimeLogConfigRequest.Builder
fields(Collection<String> fields)
A list of fields to include in each real-time log record.CreateRealtimeLogConfigRequest.Builder
name(String name)
A unique name to identify this real-time log configuration.CreateRealtimeLogConfigRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateRealtimeLogConfigRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateRealtimeLogConfigRequest.Builder
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 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.Builder
avoiding the need to create one manually viaEndPoint.builder()
.When the
Consumer
completes,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. 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
CreateRealtimeLogConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRealtimeLogConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-