Interface ModifyMemoryStrategyInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModifyMemoryStrategyInput.Builder,
,ModifyMemoryStrategyInput> SdkBuilder<ModifyMemoryStrategyInput.Builder,
,ModifyMemoryStrategyInput> SdkPojo
- Enclosing class:
ModifyMemoryStrategyInput
@Mutable
@NotThreadSafe
public static interface ModifyMemoryStrategyInput.Builder
extends SdkPojo, CopyableBuilder<ModifyMemoryStrategyInput.Builder,ModifyMemoryStrategyInput>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<ModifyStrategyConfiguration.Builder> configuration) The updated configuration for the memory strategy.configuration
(ModifyStrategyConfiguration configuration) The updated configuration for the memory strategy.description
(String description) The updated description of the memory strategy.memoryStrategyId
(String memoryStrategyId) The unique identifier of the memory strategy to modify.namespaces
(String... namespaces) The updated namespaces for the memory strategy.namespaces
(Collection<String> namespaces) The updated namespaces for the memory strategy.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
-
memoryStrategyId
The unique identifier of the memory strategy to modify.
- Parameters:
memoryStrategyId
- The unique identifier of the memory strategy to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the memory strategy.
- Parameters:
description
- The updated description of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The updated namespaces for the memory strategy.
- Parameters:
namespaces
- The updated namespaces for the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The updated namespaces for the memory strategy.
- Parameters:
namespaces
- The updated namespaces for the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The updated configuration for the memory strategy.
- Parameters:
configuration
- The updated configuration for the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default ModifyMemoryStrategyInput.Builder configuration(Consumer<ModifyStrategyConfiguration.Builder> configuration) The updated configuration for the memory strategy.
This is a convenience method that creates an instance of theModifyStrategyConfiguration.Builder
avoiding the need to create one manually viaModifyStrategyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ModifyStrategyConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onModifyStrategyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-