public static final class Bucket.Encryption
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Bucket.Encryption() |
Modifier and Type | Method and Description |
---|---|
Bucket.Encryption |
clone() |
java.lang.String |
getDefaultKmsKeyName()
A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no
encryption method is specified.
|
Bucket.Encryption |
set(java.lang.String fieldName,
java.lang.Object value) |
Bucket.Encryption |
setDefaultKmsKeyName(java.lang.String defaultKmsKeyName)
A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no
encryption method is specified.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getDefaultKmsKeyName()
null
for nonepublic Bucket.Encryption setDefaultKmsKeyName(java.lang.String defaultKmsKeyName)
defaultKmsKeyName
- defaultKmsKeyName or null
for nonepublic Bucket.Encryption set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Bucket.Encryption clone()
clone
in class com.google.api.client.json.GenericJson