Interface UpdateValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateValue.Builder,
,UpdateValue> SdkBuilder<UpdateValue.Builder,
,UpdateValue> SdkPojo
- Enclosing class:
UpdateValue
@Mutable
@NotThreadSafe
public static interface UpdateValue.Builder
extends SdkPojo, CopyableBuilder<UpdateValue.Builder,UpdateValue>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateValue.Builder
osUpdateSettings
(Consumer<OSUpdateSettings.Builder> osUpdateSettings) The OS update related settings.osUpdateSettings
(OSUpdateSettings osUpdateSettings) The OS update related settings.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, sdkFieldNameToField, sdkFields
-
Method Details
-
osUpdateSettings
The OS update related settings.
- Parameters:
osUpdateSettings
- The OS update related settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osUpdateSettings
The OS update related settings.
This is a convenience method that creates an instance of theOSUpdateSettings.Builder
avoiding the need to create one manually viaOSUpdateSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toosUpdateSettings(OSUpdateSettings)
.- Parameters:
osUpdateSettings
- a consumer that will call methods onOSUpdateSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-