com.baidubce.services.bos.model
Class SetBucketEncryptionRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bos.model.GenericBucketRequest
com.baidubce.services.bos.model.SetBucketEncryptionRequest
public class SetBucketEncryptionRequest
- extends GenericBucketRequest
Request object containing all the options for setting a bucket's Encryption.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetBucketEncryptionRequest
public SetBucketEncryptionRequest()
- Constructs a void Constructor for SetBucketEncryptionRequest
SetBucketEncryptionRequest
public SetBucketEncryptionRequest(String bucketName)
SetBucketEncryptionRequest
public SetBucketEncryptionRequest(String bucketName,
BucketEncryption bucketEncryption)
SetBucketEncryptionRequest
public SetBucketEncryptionRequest(String bucketName,
String jsonBucketEncryption)
getJsonBucketEncryption
public String getJsonBucketEncryption()
setJsonBucketEncryption
public void setJsonBucketEncryption(String jsonBucketEncryption)
withJsonBucketEncryption
public SetBucketEncryptionRequest withJsonBucketEncryption(String jsonBucketEncryption)
getBucketEncryption
public BucketEncryption getBucketEncryption()
setBucketEncryption
public void setBucketEncryption(BucketEncryption bucketEncryption)
withBucketEncryption
public SetBucketEncryptionRequest withBucketEncryption(BucketEncryption bucketEncryption)
withBucketName
public SetBucketEncryptionRequest withBucketName(String bucketName)
- Specified by:
withBucketName in class GenericBucketRequest
withRequestCredentials
public SetBucketEncryptionRequest withRequestCredentials(BceCredentials credentials)
- Specified by:
withRequestCredentials in class AbstractBceRequest
Copyright © 2020. All rights reserved.