Interface MemoryStrategy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MemoryStrategy.Builder,
,MemoryStrategy> SdkBuilder<MemoryStrategy.Builder,
,MemoryStrategy> SdkPojo
- Enclosing class:
MemoryStrategy
@Mutable
@NotThreadSafe
public static interface MemoryStrategy.Builder
extends SdkPojo, CopyableBuilder<MemoryStrategy.Builder,MemoryStrategy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MemoryStrategy.Builder
configuration
(Consumer<StrategyConfiguration.Builder> configuration) The configuration of the memory strategy.configuration
(StrategyConfiguration configuration) The configuration of the memory strategy.The timestamp when the memory strategy was created.description
(String description) The description of the memory strategy.The name of the memory strategy.namespaces
(String... namespaces) The namespaces associated with the memory strategy.namespaces
(Collection<String> namespaces) The namespaces associated with the memory strategy.The current status of the memory strategy.status
(MemoryStrategyStatus status) The current status of the memory strategy.strategyId
(String strategyId) The unique identifier of the memory strategy.The type of the memory strategy.type
(MemoryStrategyType type) The type of the memory strategy.The timestamp when the memory strategy was last updated.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
-
strategyId
The unique identifier of the memory strategy.
- Parameters:
strategyId
- The unique identifier of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the memory strategy.
- Parameters:
name
- The name of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the memory strategy.
- Parameters:
description
- The description of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration of the memory strategy.
- Parameters:
configuration
- The configuration of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration of the memory strategy.
This is a convenience method that creates an instance of theStrategyConfiguration.Builder
avoiding the need to create one manually viaStrategyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(StrategyConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onStrategyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the memory strategy.
- Parameters:
type
- The type of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the memory strategy.
- Parameters:
type
- The type of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespaces
The namespaces associated with the memory strategy.
- Parameters:
namespaces
- The namespaces associated with the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The namespaces associated with the memory strategy.
- Parameters:
namespaces
- The namespaces associated with the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the memory strategy was created.
- Parameters:
createdAt
- The timestamp when the memory strategy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the memory strategy was last updated.
- Parameters:
updatedAt
- The timestamp when the memory strategy was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the memory strategy.
- Parameters:
status
- The current status of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the memory strategy.
- Parameters:
status
- The current status of the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-