Class LoggingStatus
java.lang.Object
org.jets3t.service.model.cloudfront.LoggingStatus
Represents the logging status of a CloudFront distribution.
For logging to be enabled, both the bucket
and prefix
properties must be non-null and the named bucket must exist.
- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LoggingStatus
public LoggingStatus() -
LoggingStatus
- Parameters:
bucket
- the Amazon S3 bucket in which log files will be stored, specified as a full S3 sub-domain path (e.g. 'jets3t.s3.amazonaws.com' for the 'jets3t' bucket)prefix
- a prefix to apply to log file names. May be an empty string, but cannot be null.
-
-
Method Details
-
getPrefix
-
setPrefix
- Parameters:
prefix
- a prefix to apply to log file names. May be an empty string, but cannot be null.
-
getBucket
-
getShortBucketName
- Returns:
- the logging bucket name, without the suffix ".s3.amazonaws.com".
-
setBucket
- Parameters:
bucket
- the Amazon S3 bucket in which log files will be stored, specified as a full S3 sub-domain path (e.g. 'jets3t.s3.amazonaws.com' for the 'jets3t' bucket)
-