public class SetBucketDomainConfigurationRequest extends CosServiceRequest implements Serializable
| 构造器和说明 |
|---|
SetBucketDomainConfigurationRequest(String bucketName,
BucketDomainConfiguration configuration)
Creates a new request object, ready to be executed to set the specified
bucket's domain configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBucketName()
Returns the name of the bucket whose domain configuration is being set.
|
BucketDomainConfiguration |
getConfiguration()
Returns the domain configuration to send as part of this request.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket whose domain configuration is to be updated.
|
void |
setConfiguration(BucketDomainConfiguration configuration)
Sets the domain configuration to send as part of this request.
|
SetBucketDomainConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket whose domain configuration is being set and
returns this updated request object so that additional method calls can
be chained together.
|
SetBucketDomainConfigurationRequest |
withConfiguration(BucketDomainConfiguration configuration)
Sets the domain configuration to send as part of this request, and
returns this updated request object so that additional method calls can
be chained together.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getFixedEndpointAddr, getGeneralProgressListener, getReadLimit, getRequestClientOptions, putCustomQueryParameter, putCustomRequestHeader, setFixedEndpointAddr, setGeneralProgressListener, withGeneralProgressListenerpublic SetBucketDomainConfigurationRequest(String bucketName, BucketDomainConfiguration configuration)
bucketName - The name of the bucket whose domain configuration is being set.configuration - The new domain configuration for the specified bucket.public void setBucketName(String bucketName)
bucketName - The name of the bucket whose domain configuration is being set.public String getBucketName()
public SetBucketDomainConfigurationRequest withBucketName(String bucketName)
bucketName - The name of the bucket whose domain configuration is being
set.public void setConfiguration(BucketDomainConfiguration configuration)
configuration - The domain configuration to set for the specified bucket.public BucketDomainConfiguration getConfiguration()
public SetBucketDomainConfigurationRequest withConfiguration(BucketDomainConfiguration configuration)
configuration - The domain configuration to set for the specified bucket.Copyright © 2020. All rights reserved.