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