|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.LoggingConfig
public class LoggingConfig
Configuration for access logging for a distribution.
Constructor Summary | |
---|---|
LoggingConfig()
Default constructor for a new LoggingConfig object. |
|
LoggingConfig(String bucket,
String prefix)
Constructs a new LoggingConfig object. |
Method Summary | |
---|---|
String |
getBucket()
The bucket to receive access logs. |
String |
getPrefix()
The prefix to use for stored access log files. |
void |
setBucket(String bucket)
The bucket to receive access logs. |
void |
setPrefix(String prefix)
The prefix to use for stored access log files. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LoggingConfig |
withBucket(String bucket)
The bucket to receive access logs. |
LoggingConfig |
withPrefix(String prefix)
The prefix to use for stored access log files. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoggingConfig()
public LoggingConfig(String bucket, String prefix)
bucket
- The bucket to receive access logs.prefix
- The prefix to use for stored access log files.Method Detail |
---|
public String getBucket()
public void setBucket(String bucket)
bucket
- The bucket to receive access logs.public LoggingConfig withBucket(String bucket)
Returns a reference to this object so that method calls can be chained together.
bucket
- The bucket to receive access logs.
public String getPrefix()
public void setPrefix(String prefix)
prefix
- The prefix to use for stored access log files.public LoggingConfig withPrefix(String prefix)
Returns a reference to this object so that method calls can be chained together.
prefix
- The prefix to use for stored access log files.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |