Interface DashEncryption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DashEncryption.Builder,
,DashEncryption> SdkBuilder<DashEncryption.Builder,
,DashEncryption> SdkPojo
- Enclosing class:
DashEncryption
public static interface DashEncryption.Builder
extends SdkPojo, CopyableBuilder<DashEncryption.Builder,DashEncryption>
-
Method Summary
Modifier and TypeMethodDescriptionkeyRotationIntervalSeconds
(Integer keyRotationIntervalSeconds) Time (in seconds) between each encryption key rotation.default DashEncryption.Builder
spekeKeyProvider
(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider) Sets the value of the SpekeKeyProvider property for this object.spekeKeyProvider
(SpekeKeyProvider spekeKeyProvider) Sets the value of the SpekeKeyProvider property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
keyRotationIntervalSeconds
Time (in seconds) between each encryption key rotation.- Parameters:
keyRotationIntervalSeconds
- Time (in seconds) between each encryption key rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
Sets the value of the SpekeKeyProvider property for this object.- Parameters:
spekeKeyProvider
- The new value for the SpekeKeyProvider property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
default DashEncryption.Builder spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider) Sets the value of the SpekeKeyProvider property for this object. This is a convenience method that creates an instance of theSpekeKeyProvider.Builder
avoiding the need to create one manually viaSpekeKeyProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospekeKeyProvider(SpekeKeyProvider)
.- Parameters:
spekeKeyProvider
- a consumer that will call methods onSpekeKeyProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-