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.logStreamName(String logStreamName) The name of the CloudWatch log stream 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. 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.- Parameters:
logGroupName- The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply whenresultDestinationisSOURCE_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:
- Returns a reference to this object so that method calls can be chained together.
-
logStreamName
The name of the CloudWatch log stream where evaluation results will be written.
- Parameters:
logStreamName- The name of the CloudWatch log stream where evaluation results will be written.- 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:
-
-