Interface KeyProviderSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KeyProviderSettings.Builder,,KeyProviderSettings> SdkBuilder<KeyProviderSettings.Builder,,KeyProviderSettings> SdkPojo
- Enclosing class:
KeyProviderSettings
@Mutable
@NotThreadSafe
public static interface KeyProviderSettings.Builder
extends SdkPojo, CopyableBuilder<KeyProviderSettings.Builder,KeyProviderSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyProviderSettings.BuilderstaticKeySettings(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
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
-
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.Builderavoiding the need to create one manually viaStaticKeySettings.builder().When the
Consumercompletes,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:
-