public class LoggingConfig
extends java.lang.Object
Configuration for access logging for a distribution.
| コンストラクタと説明 |
|---|
LoggingConfig()
Default constructor for a new LoggingConfig object.
|
LoggingConfig(java.lang.String bucket,
java.lang.String prefix)
Constructs a new LoggingConfig object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
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.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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object