| Package | Description | 
|---|---|
| com.amazonaws.services.cloudfront.model | 
| Modifier and Type | Method and Description | 
|---|---|
| LoggingConfig | LoggingConfig. clone() | 
| LoggingConfig | DistributionConfig. getLogging()
 A complex type that controls whether access logs are written for the distribution. | 
| LoggingConfig | LoggingConfig. withBucket(String bucket)
 The Amazon S3 bucket to store the access logs in, for example,  myawslogbucket.s3.amazonaws.com. | 
| LoggingConfig | LoggingConfig. withEnabled(Boolean enabled)
 Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. | 
| LoggingConfig | LoggingConfig. withIncludeCookies(Boolean includeCookies)
 Specifies whether you want CloudFront to include cookies in access logs, specify  trueforIncludeCookies. | 
| LoggingConfig | LoggingConfig. withPrefix(String prefix)
 An optional string that you want CloudFront to prefix to the access log  filenamesfor this
 distribution, for example,myprefix/. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DistributionConfig. setLogging(LoggingConfig logging)
 A complex type that controls whether access logs are written for the distribution. | 
| DistributionConfig | DistributionConfig. withLogging(LoggingConfig logging)
 A complex type that controls whether access logs are written for the distribution. | 
Copyright © 2017. All rights reserved.