Interface KeyProviderSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyProviderSettings.Builder,
,KeyProviderSettings> SdkBuilder<KeyProviderSettings.Builder,
,KeyProviderSettings> SdkPojo
- Enclosing class:
KeyProviderSettings
public static interface KeyProviderSettings.Builder
extends SdkPojo, CopyableBuilder<KeyProviderSettings.Builder,KeyProviderSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyProviderSettings.Builder
staticKeySettings
(Consumer<StaticKeySettings.Builder> staticKeySettings) Sets the value of the StaticKeySettings property for this object.staticKeySettings
(StaticKeySettings staticKeySettings) Sets the value of the StaticKeySettings 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
-
staticKeySettings
Sets the value of the StaticKeySettings property for this object.- Parameters:
staticKeySettings
- The new value for the StaticKeySettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticKeySettings
default KeyProviderSettings.Builder staticKeySettings(Consumer<StaticKeySettings.Builder> staticKeySettings) Sets the value of the StaticKeySettings property for this object. This is a convenience method that creates an instance of theStaticKeySettings.Builder
avoiding the need to create one manually viaStaticKeySettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostaticKeySettings(StaticKeySettings)
.- Parameters:
staticKeySettings
- a consumer that will call methods onStaticKeySettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-