public class SetBucketDomainCertificateRequest extends CosServiceRequest implements Serializable
Constructor and Description |
---|
SetBucketDomainCertificateRequest() |
SetBucketDomainCertificateRequest(String bucketName,
BucketPutDomainCertificate domainCertificate)
Creates a new request object, ready to be executed to set the specified
bucket's domain certificate.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket whose domain certificate is being set.
|
BucketPutDomainCertificate |
getBucketPutDomainCertificate()
Returns the domain certificate to send as part of this request.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket whose domain certificate is to be updated.
|
void |
setBucketPutDomainCertificate(BucketPutDomainCertificate domainCertificate)
Sets the domain certificate to send as part of this request.
|
SetBucketDomainCertificateRequest |
withBucketName(String bucketName)
Sets the name of the bucket whose domain certificate is being set and
returns this updated request object so that additional method calls can
be chained together.
|
SetBucketDomainCertificateRequest |
withDomainCertificate(BucketPutDomainCertificate domainCertificate)
Sets the domain certificate to send as part of this request, and
returns this updated request object so that additional method calls can
be chained together.
|
clone, copyBaseTo, getCiSpecialEndParameter, getCloneRoot, getCloneSource, getCosCredentials, getCustomQueryParameters, getCustomRequestHeaders, getFixedEndpointAddr, getGeneralProgressListener, getReadLimit, getRequestClientOptions, putCustomQueryParameter, putCustomRequestHeader, setCiSpecialEndParameter, setCosCredentials, setFixedEndpointAddr, setGeneralProgressListener, withGeneralProgressListener
public SetBucketDomainCertificateRequest()
public SetBucketDomainCertificateRequest(String bucketName, BucketPutDomainCertificate domainCertificate)
bucketName
- The name of the bucket whose domain certificate is being set.domainCertificate
- The new domain certificate for the specified bucket.public void setBucketName(String bucketName)
bucketName
- The name of the bucket whose domain certificate is being set.public String getBucketName()
public SetBucketDomainCertificateRequest withBucketName(String bucketName)
bucketName
- The name of the bucket whose domain configuration is being
set.public void setBucketPutDomainCertificate(BucketPutDomainCertificate domainCertificate)
domainCertificate
- The domain certificate to set for the specified bucket.public BucketPutDomainCertificate getBucketPutDomainCertificate()
public SetBucketDomainCertificateRequest withDomainCertificate(BucketPutDomainCertificate domainCertificate)
domainCertificate
- The domain certificate to set for the specified bucket.Copyright © 2023. All rights reserved.