|
|||||||
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(java.lang.String bucket,
java.lang.String prefix)
Constructs a new LoggingConfig object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getBucket()
The bucket to receive access logs. |
java.lang.String |
getPrefix()
The prefix to use for stored access log files. |
int |
hashCode()
|
void |
setBucket(java.lang.String bucket)
The bucket to receive access logs. |
void |
setPrefix(java.lang.String prefix)
The prefix to use for stored access log files. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LoggingConfig |
withBucket(java.lang.String bucket)
The bucket to receive access logs. |
LoggingConfig |
withPrefix(java.lang.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(java.lang.String bucket, java.lang.String prefix)
bucket
- The bucket to receive access logs.prefix
- The prefix to use for stored access log files.Method Detail |
---|
public java.lang.String getBucket()
public void setBucket(java.lang.String bucket)
bucket
- The bucket to receive access logs.public LoggingConfig withBucket(java.lang.String bucket)
Returns a reference to this object so that method calls can be chained together.
bucket
- The bucket to receive access logs.
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- The prefix to use for stored access log files.public LoggingConfig withPrefix(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |