public class LoggingStatus
extends java.lang.Object
bucket
and prefix
properties must be non-null and the named bucket must exist.Constructor and Description |
---|
LoggingStatus() |
LoggingStatus(boolean enabled,
java.lang.String bucket,
java.lang.String prefix) |
LoggingStatus(java.lang.String bucket,
java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucket() |
java.lang.String |
getPrefix() |
java.lang.String |
getShortBucketName() |
boolean |
isEnabled() |
void |
setBucket(java.lang.String bucket) |
void |
setEnabled(boolean value) |
void |
setPrefix(java.lang.String prefix) |
public LoggingStatus()
public LoggingStatus(java.lang.String bucket, java.lang.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, java.lang.String bucket, java.lang.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 java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- a prefix to apply to log file names. May be an empty string, but cannot
be null.public java.lang.String getBucket()
public java.lang.String getShortBucketName()
public void setBucket(java.lang.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()