Interface RealtimeLogConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RealtimeLogConfig.Builder,RealtimeLogConfig>, SdkBuilder<RealtimeLogConfig.Builder,RealtimeLogConfig>, SdkPojo
Enclosing class:
RealtimeLogConfig

public static interface RealtimeLogConfig.Builder extends SdkPojo, CopyableBuilder<RealtimeLogConfig.Builder,RealtimeLogConfig>
  • Method Details

    • 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

      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

      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

      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 the EndPoint.Builder avoiding the need to create one manually via EndPoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to endPoints(List<EndPoint>).

      Parameters:
      endPoints - a consumer that will call methods on EndPoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.