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