Class AwsCloudFrontDistributionLogging

    • Method Detail

      • bucket

        public final String bucket()

        The S3 bucket to store the access logs in.

        Returns:
        The S3 bucket to store the access logs in.
      • enabled

        public final Boolean enabled()

        With this field, you can enable or disable the selected distribution.

        Returns:
        With this field, you can enable or disable the selected distribution.
      • includeCookies

        public final Boolean includeCookies()

        Specifies whether you want CloudFront to include cookies in access logs.

        Returns:
        Specifies whether you want CloudFront to include cookies in access logs.
      • prefix

        public final String prefix()

        An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.

        Returns:
        An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)