Class RealtimeLogConfigState.Builder

  • Enclosing class:
    RealtimeLogConfigState

    public static final class RealtimeLogConfigState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public RealtimeLogConfigState.Builder arn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the CloudFront real-time log configuration.
        Returns:
        builder
      • arn

        public RealtimeLogConfigState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the CloudFront real-time log configuration.
        Returns:
        builder
      • fields

        public RealtimeLogConfigState.Builder fields​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> fields)
        Parameters:
        fields - The fields that are included in each real-time log record. See the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) for supported values. This includes `viewer-request-log-data` and `viewer-response-log-data`, which carry the custom data that a CloudFront Function logs with `cf.logCustomData()`.
        Returns:
        builder
      • fields

        public RealtimeLogConfigState.Builder fields​(java.util.List<java.lang.String> fields)
        Parameters:
        fields - The fields that are included in each real-time log record. See the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) for supported values. This includes `viewer-request-log-data` and `viewer-response-log-data`, which carry the custom data that a CloudFront Function logs with `cf.logCustomData()`.
        Returns:
        builder
      • fields

        public RealtimeLogConfigState.Builder fields​(java.lang.String... fields)
        Parameters:
        fields - The fields that are included in each real-time log record. See the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) for supported values. This includes `viewer-request-log-data` and `viewer-response-log-data`, which carry the custom data that a CloudFront Function logs with `cf.logCustomData()`.
        Returns:
        builder
      • name

        public RealtimeLogConfigState.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The unique name to identify this real-time log configuration.
        Returns:
        builder
      • name

        public RealtimeLogConfigState.Builder name​(java.lang.String name)
        Parameters:
        name - The unique name to identify this real-time log configuration.
        Returns:
        builder
      • samplingRate

        public RealtimeLogConfigState.Builder samplingRate​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> samplingRate)
        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. An integer between `1` and `100`, inclusive.
        Returns:
        builder
      • samplingRate

        public RealtimeLogConfigState.Builder samplingRate​(java.lang.Integer samplingRate)
        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. An integer between `1` and `100`, inclusive.
        Returns:
        builder