Class CfnHarness.HarnessManagedMemoryConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarness.HarnessManagedMemoryConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarness.HarnessManagedMemoryConfigurationProperty>
- Enclosing interface:
CfnHarness.HarnessManagedMemoryConfigurationProperty
@Stability(Stable)
public static final class CfnHarness.HarnessManagedMemoryConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarness.HarnessManagedMemoryConfigurationProperty>
A builder for
CfnHarness.HarnessManagedMemoryConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnHarness.HarnessManagedMemoryConfigurationProperty.getArn()build()Builds the configured instance.encryptionKeyArn(String encryptionKeyArn) eventExpiryDuration(Number eventExpiryDuration) strategies(List<String> strategies) Sets the value ofCfnHarness.HarnessManagedMemoryConfigurationProperty.getStrategies()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Stable) public CfnHarness.HarnessManagedMemoryConfigurationProperty.Builder arn(String arn) Sets the value ofCfnHarness.HarnessManagedMemoryConfigurationProperty.getArn()- Parameters:
arn- The ARN of the managed memory resource. Read-only, populated by the service.- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnHarness.HarnessManagedMemoryConfigurationProperty.Builder encryptionKeyArn(String encryptionKeyArn) - Parameters:
encryptionKeyArn- Customer-managed KMS key ARN. Defaults to AWS-owned key. Not updatable after creation.- Returns:
this
-
eventExpiryDuration
@Stability(Stable) public CfnHarness.HarnessManagedMemoryConfigurationProperty.Builder eventExpiryDuration(Number eventExpiryDuration) - Parameters:
eventExpiryDuration- Event retention in days. Defaults to 30.- Returns:
this
-
strategies
@Stability(Stable) public CfnHarness.HarnessManagedMemoryConfigurationProperty.Builder strategies(List<String> strategies) Sets the value ofCfnHarness.HarnessManagedMemoryConfigurationProperty.getStrategies()- Parameters:
strategies- Strategy types to enable. Defaults to [SEMANTIC, SUMMARIZATION].- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarness.HarnessManagedMemoryConfigurationProperty>- Returns:
- a new instance of
CfnHarness.HarnessManagedMemoryConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-