asCustomMemoryStrategyOrNull
Casts this MemoryStrategyInput as a CustomMemoryStrategy and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.CustomMemoryStrategyInput value. Returns null if the MemoryStrategyInput is not a CustomMemoryStrategy.