com.baidubce.services.bos.model
Class BucketEncryption

java.lang.Object
  extended by com.baidubce.services.bos.model.BucketEncryption

public class BucketEncryption
extends Object

Bucket encryption


Constructor Summary
BucketEncryption()
          Creates a default instance
BucketEncryption(String encryptionAlgorithm, String kmsMasterKeyId)
           
 
Method Summary
 String getEncryptionAlgorithm()
           
 String getKmsMasterKeyId()
           
 void setEncryptionAlgorithm(String encryptionAlgorithm)
           
 void setKmsMasterKeyId(String kmsMasterKeyId)
           
 BucketEncryption withEncryptionAlgorithm(String encryptionAlgorithm)
           
 BucketEncryption withKmsMasterKeyId(String kmsMasterKeyId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BucketEncryption

public BucketEncryption()
Creates a default instance


BucketEncryption

public BucketEncryption(String encryptionAlgorithm,
                        String kmsMasterKeyId)
Method Detail

getEncryptionAlgorithm

public String getEncryptionAlgorithm()

setEncryptionAlgorithm

public void setEncryptionAlgorithm(String encryptionAlgorithm)

withEncryptionAlgorithm

public BucketEncryption withEncryptionAlgorithm(String encryptionAlgorithm)

getKmsMasterKeyId

public String getKmsMasterKeyId()

setKmsMasterKeyId

public void setKmsMasterKeyId(String kmsMasterKeyId)

withKmsMasterKeyId

public BucketEncryption withKmsMasterKeyId(String kmsMasterKeyId)


Copyright © 2020. All rights reserved.