Interface FlowTransitEncryptionKeyConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FlowTransitEncryptionKeyConfiguration.Builder,,FlowTransitEncryptionKeyConfiguration> SdkBuilder<FlowTransitEncryptionKeyConfiguration.Builder,,FlowTransitEncryptionKeyConfiguration> SdkPojo
- Enclosing class:
FlowTransitEncryptionKeyConfiguration
@Mutable
@NotThreadSafe
public static interface FlowTransitEncryptionKeyConfiguration.Builder
extends SdkPojo, CopyableBuilder<FlowTransitEncryptionKeyConfiguration.Builder,FlowTransitEncryptionKeyConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Automatic property for this object.automatic(AutomaticEncryptionKeyConfiguration automatic) Sets the value of the Automatic property for this object.secretsManager(Consumer<SecretsManagerEncryptionKeyConfiguration.Builder> secretsManager) Sets the value of the SecretsManager property for this object.secretsManager(SecretsManagerEncryptionKeyConfiguration secretsManager) Sets the value of the SecretsManager property for this object.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
-
secretsManager
FlowTransitEncryptionKeyConfiguration.Builder secretsManager(SecretsManagerEncryptionKeyConfiguration secretsManager) Sets the value of the SecretsManager property for this object.- Parameters:
secretsManager- The new value for the SecretsManager property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretsManager
default FlowTransitEncryptionKeyConfiguration.Builder secretsManager(Consumer<SecretsManagerEncryptionKeyConfiguration.Builder> secretsManager) Sets the value of the SecretsManager property for this object. This is a convenience method that creates an instance of theSecretsManagerEncryptionKeyConfiguration.Builderavoiding the need to create one manually viaSecretsManagerEncryptionKeyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecretsManager(SecretsManagerEncryptionKeyConfiguration).- Parameters:
secretsManager- a consumer that will call methods onSecretsManagerEncryptionKeyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automatic
FlowTransitEncryptionKeyConfiguration.Builder automatic(AutomaticEncryptionKeyConfiguration automatic) Sets the value of the Automatic property for this object.- Parameters:
automatic- The new value for the Automatic property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automatic
default FlowTransitEncryptionKeyConfiguration.Builder automatic(Consumer<AutomaticEncryptionKeyConfiguration.Builder> automatic) Sets the value of the Automatic property for this object. This is a convenience method that creates an instance of theAutomaticEncryptionKeyConfiguration.Builderavoiding the need to create one manually viaAutomaticEncryptionKeyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomatic(AutomaticEncryptionKeyConfiguration).- Parameters:
automatic- a consumer that will call methods onAutomaticEncryptionKeyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-