Interface AwsCloudFrontDistributionLogging.Builder

    • Method Detail

      • bucket

        AwsCloudFrontDistributionLogging.Builder bucket​(String bucket)

        The S3 bucket to store the access logs in.

        Parameters:
        bucket - The S3 bucket to store the access logs in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        AwsCloudFrontDistributionLogging.Builder enabled​(Boolean enabled)

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

        Parameters:
        enabled - With this field, you can enable or disable the selected distribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeCookies

        AwsCloudFrontDistributionLogging.Builder includeCookies​(Boolean includeCookies)

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

        Parameters:
        includeCookies - Specifies whether you want CloudFront to include cookies in access logs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prefix

        AwsCloudFrontDistributionLogging.Builder prefix​(String prefix)

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

        Parameters:
        prefix - An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.