Class LoggingStatus
- java.lang.Object
-
- org.jets3t.service.model.cloudfront.LoggingStatus
-
public class LoggingStatus extends Object
Represents the logging status of a CloudFront distribution.For logging to be enabled, both the
bucket
andprefix
properties must be non-null and the named bucket must exist.- Author:
- James Murty
-
-
Constructor Summary
Constructors Constructor Description LoggingStatus()
LoggingStatus(String bucket, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBucket()
String
getPrefix()
String
getShortBucketName()
void
setBucket(String bucket)
void
setPrefix(String prefix)
-
-
-
Constructor Detail
-
LoggingStatus
public LoggingStatus()
-
LoggingStatus
public LoggingStatus(String bucket, String prefix)
- 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 Detail
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
- Parameters:
prefix
- a prefix to apply to log file names. May be an empty string, but cannot be null.
-
getBucket
public String getBucket()
-
getShortBucketName
public String getShortBucketName()
- Returns:
- the logging bucket name, without the suffix ".s3.amazonaws.com".
-
setBucket
public void setBucket(String bucket)
- 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)
-
-