| Modifier and Type | Class and Description |
|---|---|
static class |
Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig
If set, the new objects created in this bucket must comply with this enforcement config.
|
static class |
Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig
If set, the new objects created in this bucket must comply with this enforcement config.
|
static class |
Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig
If set, the new objects created in this bucket must comply with this enforcement config.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Encryption() |
| Modifier and Type | Method and Description |
|---|---|
Bucket.Encryption |
clone() |
Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig |
getCustomerManagedEncryptionEnforcementConfig()
If set, the new objects created in this bucket must comply with this enforcement config.
|
Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig |
getCustomerSuppliedEncryptionEnforcementConfig()
If set, the new objects created in this bucket must comply with this enforcement config.
|
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.GoogleManagedEncryptionEnforcementConfig |
getGoogleManagedEncryptionEnforcementConfig()
If set, the new objects created in this bucket must comply with this enforcement config.
|
Bucket.Encryption |
set(String fieldName,
Object value) |
Bucket.Encryption |
setCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customerManagedEncryptionEnforcementConfig)
If set, the new objects created in this bucket must comply with this enforcement config.
|
Bucket.Encryption |
setCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customerSuppliedEncryptionEnforcementConfig)
If set, the new objects created in this bucket must comply with this enforcement config.
|
Bucket.Encryption |
setDefaultKmsKeyName(String defaultKmsKeyName)
A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no
encryption method is specified.
|
Bucket.Encryption |
setGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig googleManagedEncryptionEnforcementConfig)
If set, the new objects created in this bucket must comply with this enforcement config.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig getCustomerManagedEncryptionEnforcementConfig()
null for nonepublic Bucket.Encryption setCustomerManagedEncryptionEnforcementConfig(Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig customerManagedEncryptionEnforcementConfig)
customerManagedEncryptionEnforcementConfig - customerManagedEncryptionEnforcementConfig or null for nonepublic Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig getCustomerSuppliedEncryptionEnforcementConfig()
null for nonepublic Bucket.Encryption setCustomerSuppliedEncryptionEnforcementConfig(Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfig customerSuppliedEncryptionEnforcementConfig)
customerSuppliedEncryptionEnforcementConfig - customerSuppliedEncryptionEnforcementConfig or null for nonepublic String getDefaultKmsKeyName()
null for nonepublic Bucket.Encryption setDefaultKmsKeyName(String defaultKmsKeyName)
defaultKmsKeyName - defaultKmsKeyName or null for nonepublic Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig getGoogleManagedEncryptionEnforcementConfig()
null for nonepublic Bucket.Encryption setGoogleManagedEncryptionEnforcementConfig(Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig googleManagedEncryptionEnforcementConfig)
googleManagedEncryptionEnforcementConfig - googleManagedEncryptionEnforcementConfig or null for nonepublic Bucket.Encryption set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Bucket.Encryption clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.