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