public class SetBucketLoggingConfigurationRequest extends CosServiceRequest implements Serializable
| 构造器和说明 |
|---|
SetBucketLoggingConfigurationRequest(String bucketName,
BucketLoggingConfiguration loggingConfiguration)
Constructs a new
SetBucketLoggingConfigurationRequest
to set the bucket logging configuration of
the specified bucket. |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBucketName()
Gets the name of the bucket whose logging configuration is being set.
|
BucketLoggingConfiguration |
getLoggingConfiguration()
Gets the logging configuration for the specified bucket.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket whose logging configuration is being set.
|
void |
setLoggingConfiguration(BucketLoggingConfiguration loggingConfiguration)
Sets the logging configuration for the specified bucket.
|
SetBucketLoggingConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket whose logging configuration is being set
and returns this object, enabling additional method calls to be
chained together.
|
SetBucketLoggingConfigurationRequest |
withLoggingConfiguration(BucketLoggingConfiguration loggingConfiguration)
Sets the logging configuration for the specified bucket and returns
the updated object, enabling additional method calls to be chained
together.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getCosCredentials, getCustomQueryParameters, getCustomRequestHeaders, getFixedEndpointAddr, getGeneralProgressListener, getReadLimit, getRequestClientOptions, putCustomQueryParameter, putCustomRequestHeader, setCosCredentials, setFixedEndpointAddr, setGeneralProgressListener, withGeneralProgressListenerpublic SetBucketLoggingConfigurationRequest(String bucketName, BucketLoggingConfiguration loggingConfiguration)
SetBucketLoggingConfigurationRequest
to set the bucket logging configuration of
the specified bucket.bucketName - The name of the bucket whose logging configuration is being
set.loggingConfiguration - The new logging configuration for the specified bucket.public String getBucketName()
setBucketName(String),
withLoggingConfiguration(BucketLoggingConfiguration)public void setBucketName(String bucketName)
bucketName - The name of the bucket whose logging configuration is being
set.getBucketName(),
withBucketName(String)public SetBucketLoggingConfigurationRequest withBucketName(String bucketName)
bucketName - The name of the bucket whose logging configuration is being
set.SetBucketLoggingConfigurationRequest object, enabling
additional method calls may to be chained together.getBucketName(),
setBucketName(String)public BucketLoggingConfiguration getLoggingConfiguration()
setLoggingConfiguration(BucketLoggingConfiguration),
withLoggingConfiguration(BucketLoggingConfiguration)public void setLoggingConfiguration(BucketLoggingConfiguration loggingConfiguration)
loggingConfiguration - The logging configuration for the specified bucket.getLoggingConfiguration(),
withLoggingConfiguration(BucketLoggingConfiguration)public SetBucketLoggingConfigurationRequest withLoggingConfiguration(BucketLoggingConfiguration loggingConfiguration)
loggingConfiguration - The logging configuration for the specified bucket.SetBucketLoggingConfigurationRequest object, enabling
additional method calls to be chained together.getLoggingConfiguration(),
setLoggingConfiguration(BucketLoggingConfiguration)Copyright © 2021. All rights reserved.