com.baidubce.services.bos.model
Class DeleteBucketCorsRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bos.model.GenericBucketRequest
com.baidubce.services.bos.model.DeleteBucketCorsRequest
public class DeleteBucketCorsRequest
- extends GenericBucketRequest
Provides options for deleting a Bucket CORS(Cross-Origin Resource Sharing).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteBucketCorsRequest
public DeleteBucketCorsRequest()
- Constructs a void Constructor for DeleteBucketCorsRequest.
DeleteBucketCorsRequest
public DeleteBucketCorsRequest(String bucketName)
- Constructs a new DeleteBucketCorsRequest, ready to be executed to delete the specified Bucket CORS.
- Parameters:
bucketName
- The name of the Baidu Bos bucket to delete Bucket CORS.
withRequestCredentials
public DeleteBucketCorsRequest withRequestCredentials(BceCredentials credentials)
- Specified by:
withRequestCredentials
in class AbstractBceRequest
withBucketName
public DeleteBucketCorsRequest withBucketName(String bucketName)
- Sets the name of the Baidu Bos bucket to delete Bucket CORS.
- Specified by:
withBucketName
in class GenericBucketRequest
- Parameters:
bucketName
- The name of the Baidu Bos bucket to delete Bucket CORS.
Copyright © 2018. All rights reserved.