|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront_2012_03_15.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 | |
---|---|
boolean |
equals(Object obj)
|
String |
getBucket()
The bucket to receive access logs. |
String |
getPrefix()
The prefix to use for stored access log files. |
int |
hashCode()
|
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 |
---|
getClass, 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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |