Enum StreamDeliveryContentLevel
java.lang.Object
java.lang.Enum<StreamDeliveryContentLevel>
software.amazon.awscdk.services.bedrockagentcore.StreamDeliveryContentLevel
- All Implemented Interfaces:
Serializable,Comparable<StreamDeliveryContentLevel>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-08-13T16:20:01.339Z")
@Stability(Stable)
public enum StreamDeliveryContentLevel
extends Enum<StreamDeliveryContentLevel>
Content detail level for stream delivery.
Controls how much detail is included in each delivered record.
Example:
Stream stream = new Stream(this, "MemoryEventStream");
Memory memory = Memory.Builder.create(this, "MemoryWithStreamDelivery")
.memoryName("memory_with_stream")
.streamDeliveryResources(List.of(StreamDeliveryResource.kinesis(stream, KinesisStreamDeliveryOptions.builder()
.contentConfigurations(List.of(StreamDeliveryContentConfiguration.builder()
.type(StreamDeliveryContentType.MEMORY_RECORDS)
// Streams complete memory record bodies, which may include sensitive data
.level(StreamDeliveryContentLevel.FULL_CONTENT)
.build()))
.build())))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeliver full content including the memory record body.Deliver only metadata (record ID, timestamps, event type). -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamDeliveryContentLevelReturns the enum constant of this type with the specified name.static StreamDeliveryContentLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METADATA_ONLY
Deliver only metadata (record ID, timestamps, event type). -
FULL_CONTENT
Deliver full content including the memory record body.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-