Interface CloudWatchOutputConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchOutputConfig.Builder,,CloudWatchOutputConfig> SdkBuilder<CloudWatchOutputConfig.Builder,,CloudWatchOutputConfig> SdkPojo
- Enclosing class:
CloudWatchOutputConfig
-
Method Summary
Modifier and TypeMethodDescriptionlogGroupName(String logGroupName) The name of the CloudWatch log group where evaluation results will be written.metricsNamespace(String metricsNamespace) The CloudWatch metrics namespace where evaluation result metrics are published.resultDestination(String resultDestination) The destination where evaluation results are written.resultDestination(ResultDestination resultDestination) The destination where evaluation results are written.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
-
logGroupName
The name of the CloudWatch log group where evaluation results will be written. An existing log group is used as-is; otherwise the service creates it, which requires the evaluation execution role to grant
logs:CreateLogGroupon the log group. Don't specify this value whenresultDestinationisSOURCE_LOG_GROUP. The name can't be under the service-reserved/aws/bedrock-agentcore/evaluations/namespace, apart from this configuration's own service-managed default group.- Parameters:
logGroupName- The name of the CloudWatch log group where evaluation results will be written. An existing log group is used as-is; otherwise the service creates it, which requires the evaluation execution role to grantlogs:CreateLogGroupon the log group. Don't specify this value whenresultDestinationisSOURCE_LOG_GROUP. The name can't be under the service-reserved/aws/bedrock-agentcore/evaluations/namespace, apart from this configuration's own service-managed default group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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/.- Parameters:
metricsNamespace- The CloudWatch metrics namespace where evaluation result metrics are published. If you omit this value, the service publishes metrics toBedrock-AgentCore/Evaluations. This value can't begin withAWS/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-