Interface ModifyMemoryStrategyInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModifyMemoryStrategyInput.Builder,,ModifyMemoryStrategyInput> SdkBuilder<ModifyMemoryStrategyInput.Builder,,ModifyMemoryStrategyInput> SdkPojo
- Enclosing class:
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.memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Updated metadata schema for records generated by this strategy.memoryRecordSchema(MemoryRecordSchema memoryRecordSchema) Updated metadata schema for records generated by this strategy.memoryStrategyId(String memoryStrategyId) The unique identifier of the memory strategy to modify.namespaces(String... namespaces) Deprecated.Use namespaceTemplates insteadnamespaces(Collection<String> namespaces) Deprecated.Use namespaceTemplates insteadnamespaceTemplates(String... namespaceTemplates) The updated namespaceTemplates for the memory strategy.namespaceTemplates(Collection<String> namespaceTemplates) The updated namespaceTemplates for the memory strategy.recordExpirySpecification(Consumer<RecordExpirySpecification.Builder> recordExpirySpecification) Updates or removes the record expiry (long-term memory time-to-live) for this strategy.recordExpirySpecification(RecordExpirySpecification recordExpirySpecification) Updates or removes the record expiry (long-term memory time-to-live) for this strategy.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
-
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
Deprecated.Use namespaceTemplates insteadThis is a legacy parameter, use
namespaceTemplates. The updated namespaces for the memory strategy.- Parameters:
namespaces- This is a legacy parameter, usenamespaceTemplates. The updated namespaces for the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
Deprecated.Use namespaceTemplates insteadThis is a legacy parameter, use
namespaceTemplates. The updated namespaces for the memory strategy.- Parameters:
namespaces- This is a legacy parameter, usenamespaceTemplates. The updated namespaces for the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The updated namespaceTemplates for the memory strategy.
- Parameters:
namespaceTemplates- The updated namespaceTemplates for the memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The updated namespaceTemplates for the memory strategy.
- Parameters:
namespaceTemplates- The updated namespaceTemplates 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.Builderavoiding the need to create one manually viaModifyStrategyConfiguration.builder().When the
Consumercompletes,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:
-
memoryRecordSchema
Updated metadata schema for records generated by this strategy.
- Parameters:
memoryRecordSchema- Updated metadata schema for records generated by this strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSchema
default ModifyMemoryStrategyInput.Builder memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Updated metadata schema for records generated by this strategy.
This is a convenience method that creates an instance of theMemoryRecordSchema.Builderavoiding the need to create one manually viaMemoryRecordSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryRecordSchema(MemoryRecordSchema).- Parameters:
memoryRecordSchema- a consumer that will call methods onMemoryRecordSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordExpirySpecification
ModifyMemoryStrategyInput.Builder recordExpirySpecification(RecordExpirySpecification recordExpirySpecification) Updates or removes the record expiry (long-term memory time-to-live) for this strategy. Set
recordExpiryDurationDaysto configure or update the number of days after which records expire, or setactiontoREMOVEto remove a previously configured time-to-live so that newer records no longer expire. The change applies only to records created after the update.- Parameters:
recordExpirySpecification- Updates or removes the record expiry (long-term memory time-to-live) for this strategy. SetrecordExpiryDurationDaysto configure or update the number of days after which records expire, or setactiontoREMOVEto remove a previously configured time-to-live so that newer records no longer expire. The change applies only to records created after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordExpirySpecification
default ModifyMemoryStrategyInput.Builder recordExpirySpecification(Consumer<RecordExpirySpecification.Builder> recordExpirySpecification) Updates or removes the record expiry (long-term memory time-to-live) for this strategy. Set
This is a convenience method that creates an instance of therecordExpiryDurationDaysto configure or update the number of days after which records expire, or setactiontoREMOVEto remove a previously configured time-to-live so that newer records no longer expire. The change applies only to records created after the update.RecordExpirySpecification.Builderavoiding the need to create one manually viaRecordExpirySpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecordExpirySpecification(RecordExpirySpecification).- Parameters:
recordExpirySpecification- a consumer that will call methods onRecordExpirySpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-