Class CloudWatchOutputConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudWatchOutputConfig.Builder,CloudWatchOutputConfig>
CloudWatch Logs destination for batch evaluation results.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the CloudWatch log group where evaluation results will be written.final StringThe name of the CloudWatch log stream where evaluation results will be written.final StringThe CloudWatch metrics namespace where evaluation result metrics are published.final ResultDestinationThe destination where evaluation results are written.final StringThe destination where evaluation results are written.static Class<? extends CloudWatchOutputConfig.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
logGroupName
The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply when
resultDestinationisSOURCE_LOG_GROUP, because results are written back to the trace source log group. The name can't be under the service-reserved/aws/bedrock-agentcore/evaluations/namespace, apart from the service-managed default group.- Returns:
- The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply
when
resultDestinationisSOURCE_LOG_GROUP, because results are written back to the trace source log group. The name can't be under the service-reserved/aws/bedrock-agentcore/evaluations/namespace, apart from the service-managed default group.
-
logStreamName
The name of the CloudWatch log stream where evaluation results will be written.
- Returns:
- The name of the CloudWatch log stream where evaluation results will be written.
-
metricsNamespace
The CloudWatch metrics namespace where evaluation result metrics are published. If you omit this value, the service publishes metrics to
Bedrock-AgentCore/Evaluations. This value can't begin withAWS/.- Returns:
- The CloudWatch metrics namespace where evaluation result metrics are published. If you omit this value,
the service publishes metrics to
Bedrock-AgentCore/Evaluations. This value can't begin withAWS/.
-
resultDestination
The destination where evaluation results are written. Valid values:
-
DEDICATED_LOG_GROUP(default) – Writes results to a dedicated result log group. -
SOURCE_LOG_GROUP– Writes results back to the log group that the agent traces were read from. If you use this value, don't specifylogGroupName.
If the service returns an enum value that is not available in the current SDK version,
resultDestinationwill returnResultDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultDestinationAsString().- Returns:
- The destination where evaluation results are written. Valid values:
-
DEDICATED_LOG_GROUP(default) – Writes results to a dedicated result log group. -
SOURCE_LOG_GROUP– Writes results back to the log group that the agent traces were read from. If you use this value, don't specifylogGroupName.
-
- See Also:
-
-
resultDestinationAsString
The destination where evaluation results are written. Valid values:
-
DEDICATED_LOG_GROUP(default) – Writes results to a dedicated result log group. -
SOURCE_LOG_GROUP– Writes results back to the log group that the agent traces were read from. If you use this value, don't specifylogGroupName.
If the service returns an enum value that is not available in the current SDK version,
resultDestinationwill returnResultDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultDestinationAsString().- Returns:
- The destination where evaluation results are written. Valid values:
-
DEDICATED_LOG_GROUP(default) – Writes results to a dedicated result log group. -
SOURCE_LOG_GROUP– Writes results back to the log group that the agent traces were read from. If you use this value, don't specifylogGroupName.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudWatchOutputConfig.Builder,CloudWatchOutputConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-