public class LoggingStatus extends Object
bucket
and prefix
properties must be non-null and the named bucket must exist.Constructor and Description |
---|
LoggingStatus() |
LoggingStatus(boolean enabled,
String bucket,
String prefix) |
LoggingStatus(String bucket,
String prefix) |
Modifier and Type | Method and Description |
---|---|
String |
getBucket() |
String |
getPrefix() |
String |
getShortBucketName() |
boolean |
isEnabled() |
void |
setBucket(String bucket) |
void |
setEnabled(boolean value) |
void |
setPrefix(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 LoggingStatus(boolean enabled, String bucket, String prefix)
enabled
- Logging status is activebucket
- 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)public void setEnabled(boolean value)
public boolean isEnabled()
Copyright © 2006–2018. All rights reserved.