Interface ProviderEncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProviderEncryptionConfiguration.Builder,,ProviderEncryptionConfiguration> SdkBuilder<ProviderEncryptionConfiguration.Builder,,ProviderEncryptionConfiguration> SdkPojo
- Enclosing class:
ProviderEncryptionConfiguration
@Mutable
@NotThreadSafe
public static interface ProviderEncryptionConfiguration.Builder
extends SdkPojo, CopyableBuilder<ProviderEncryptionConfiguration.Builder,ProviderEncryptionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerManaged(Consumer<CustomerManagedEncryption.Builder> customerManaged) Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses.customerManaged(CustomerManagedEncryption customerManaged) Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses.inheritFromPool(Consumer<Unit.Builder> inheritFromPool) Inherit the parent pool's encryption configuration.inheritFromPool(Unit inheritFromPool) Inherit the parent pool's encryption configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
customerManaged
Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses. Supply it again with a different key to rotate.
- Parameters:
customerManaged- Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses. Supply it again with a different key to rotate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerManaged
default ProviderEncryptionConfiguration.Builder customerManaged(Consumer<CustomerManagedEncryption.Builder> customerManaged) Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses. Supply it again with a different key to rotate.
This is a convenience method that creates an instance of theCustomerManagedEncryption.Builderavoiding the need to create one manually viaCustomerManagedEncryption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerManaged(CustomerManagedEncryption).- Parameters:
customerManaged- a consumer that will call methods onCustomerManagedEncryption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inheritFromPool
Inherit the parent pool's encryption configuration.
- Parameters:
inheritFromPool- Inherit the parent pool's encryption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inheritFromPool
default ProviderEncryptionConfiguration.Builder inheritFromPool(Consumer<Unit.Builder> inheritFromPool) Inherit the parent pool's encryption configuration.
This is a convenience method that creates an instance of theUnit.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinheritFromPool(Unit).- Parameters:
inheritFromPool- a consumer that will call methods onUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-