Interface AccessLog.Builder

    • Method Detail

      • enabled

        AccessLog.Builder enabled​(Boolean enabled)

        Specifies whether access logs are enabled for the load balancer.

        Parameters:
        enabled - Specifies whether access logs are enabled for the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3BucketName

        AccessLog.Builder s3BucketName​(String s3BucketName)

        The name of the Amazon S3 bucket where the access logs are stored.

        Parameters:
        s3BucketName - The name of the Amazon S3 bucket where the access logs are stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • emitInterval

        AccessLog.Builder emitInterval​(Integer emitInterval)

        The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

        Default: 60 minutes

        Parameters:
        emitInterval - The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

        Default: 60 minutes

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3BucketPrefix

        AccessLog.Builder s3BucketPrefix​(String s3BucketPrefix)

        The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of the bucket.

        Parameters:
        s3BucketPrefix - The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of the bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.