org.jets3t.service.model.cloudfront
public class LoggingStatus extends Object
For logging to be enabled, both the bucket
and prefix
properties must be non-null and the named bucket must exist.
Constructor and Description |
---|
LoggingStatus() |
LoggingStatus(String bucket,
String prefix) |
public LoggingStatus()
public LoggingStatus(String bucket, String prefix)
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.public String getPrefix()
public void setPrefix(String prefix)
prefix
- a prefix to apply to log file names. May be an empty string, but cannot
be null.public String getBucket()
public String getShortBucketName()
public void setBucket(String bucket)
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)