Interface AgentTracesConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentTracesConfig.Builder,,AgentTracesConfig> SdkBuilder<AgentTracesConfig.Builder,,AgentTracesConfig> SdkPojo
- Enclosing class:
AgentTracesConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault AgentTracesConfig.BuilderbatchEvaluation(Consumer<BatchEvaluationTraceConfig.Builder> batchEvaluation) Use a completed batch evaluation as the source of agent traces.batchEvaluation(BatchEvaluationTraceConfig batchEvaluation) Use a completed batch evaluation as the source of agent traces.default AgentTracesConfig.BuildercloudwatchLogs(Consumer<CloudWatchLogsTraceConfig.Builder> cloudwatchLogs) Agent traces read from CloudWatch Logs.cloudwatchLogs(CloudWatchLogsTraceConfig cloudwatchLogs) Agent traces read from CloudWatch Logs.default AgentTracesConfig.BuilderonlineEvaluation(Consumer<OnlineEvaluationTraceConfig.Builder> onlineEvaluation) Agent traces from an online evaluation configuration over a specified time range.onlineEvaluation(OnlineEvaluationTraceConfig onlineEvaluation) Agent traces from an online evaluation configuration over a specified time range.sessionSpans(Collection<Document> sessionSpans) Agent traces provided as inline session spans in OpenTelemetry format.sessionSpans(Document... sessionSpans) Agent traces provided as inline session spans in OpenTelemetry format.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
-
sessionSpans
Agent traces provided as inline session spans in OpenTelemetry format.
- Parameters:
sessionSpans- Agent traces provided as inline session spans in OpenTelemetry format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionSpans
Agent traces provided as inline session spans in OpenTelemetry format.
- Parameters:
sessionSpans- Agent traces provided as inline session spans in OpenTelemetry format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudwatchLogs
Agent traces read from CloudWatch Logs.
- Parameters:
cloudwatchLogs- Agent traces read from CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudwatchLogs
default AgentTracesConfig.Builder cloudwatchLogs(Consumer<CloudWatchLogsTraceConfig.Builder> cloudwatchLogs) Agent traces read from CloudWatch Logs.
This is a convenience method that creates an instance of theCloudWatchLogsTraceConfig.Builderavoiding the need to create one manually viaCloudWatchLogsTraceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudwatchLogs(CloudWatchLogsTraceConfig).- Parameters:
cloudwatchLogs- a consumer that will call methods onCloudWatchLogsTraceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
batchEvaluation
Use a completed batch evaluation as the source of agent traces.
- Parameters:
batchEvaluation- Use a completed batch evaluation as the source of agent traces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchEvaluation
default AgentTracesConfig.Builder batchEvaluation(Consumer<BatchEvaluationTraceConfig.Builder> batchEvaluation) Use a completed batch evaluation as the source of agent traces.
This is a convenience method that creates an instance of theBatchEvaluationTraceConfig.Builderavoiding the need to create one manually viaBatchEvaluationTraceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobatchEvaluation(BatchEvaluationTraceConfig).- Parameters:
batchEvaluation- a consumer that will call methods onBatchEvaluationTraceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onlineEvaluation
Agent traces from an online evaluation configuration over a specified time range.
- Parameters:
onlineEvaluation- Agent traces from an online evaluation configuration over a specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onlineEvaluation
default AgentTracesConfig.Builder onlineEvaluation(Consumer<OnlineEvaluationTraceConfig.Builder> onlineEvaluation) Agent traces from an online evaluation configuration over a specified time range.
This is a convenience method that creates an instance of theOnlineEvaluationTraceConfig.Builderavoiding the need to create one manually viaOnlineEvaluationTraceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonlineEvaluation(OnlineEvaluationTraceConfig).- Parameters:
onlineEvaluation- a consumer that will call methods onOnlineEvaluationTraceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-