Interface UpdateOnlineEvaluationConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateOnlineEvaluationConfigRequest.Builder,,UpdateOnlineEvaluationConfigRequest> SdkBuilder<UpdateOnlineEvaluationConfigRequest.Builder,,UpdateOnlineEvaluationConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateOnlineEvaluationConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.dataSourceConfig(Consumer<DataSourceConfig.Builder> dataSourceConfig) The updated data source configuration specifying CloudWatch log groups and service names to monitor.dataSourceConfig(DataSourceConfig dataSourceConfig) The updated data source configuration specifying CloudWatch log groups and service names to monitor.description(String description) The updated description of the online evaluation configuration.evaluationExecutionRoleArn(String evaluationExecutionRoleArn) The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution.evaluators(Collection<EvaluatorReference> evaluators) The updated list of evaluators to apply during online evaluation.evaluators(Consumer<EvaluatorReference.Builder>... evaluators) The updated list of evaluators to apply during online evaluation.evaluators(EvaluatorReference... evaluators) The updated list of evaluators to apply during online evaluation.executionStatus(String executionStatus) The updated execution status to enable or disable the online evaluation.executionStatus(OnlineEvaluationExecutionStatus executionStatus) The updated execution status to enable or disable the online evaluation.onlineEvaluationConfigId(String onlineEvaluationConfigId) The unique identifier of the online evaluation configuration to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rule(Consumer<Rule.Builder> rule) The updated evaluation rule containing sampling configuration, filters, and session settings.The updated evaluation rule containing sampling configuration, filters, and session settings.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods 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
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onlineEvaluationConfigId
UpdateOnlineEvaluationConfigRequest.Builder onlineEvaluationConfigId(String onlineEvaluationConfigId) The unique identifier of the online evaluation configuration to update.
- Parameters:
onlineEvaluationConfigId- The unique identifier of the online evaluation configuration to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the online evaluation configuration.
- Parameters:
description- The updated description of the online evaluation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The updated evaluation rule containing sampling configuration, filters, and session settings.
- Parameters:
rule- The updated evaluation rule containing sampling configuration, filters, and session settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The updated evaluation rule containing sampling configuration, filters, and session settings.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(Rule).- Parameters:
rule- a consumer that will call methods onRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSourceConfig
The updated data source configuration specifying CloudWatch log groups and service names to monitor.
- Parameters:
dataSourceConfig- The updated data source configuration specifying CloudWatch log groups and service names to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfig
default UpdateOnlineEvaluationConfigRequest.Builder dataSourceConfig(Consumer<DataSourceConfig.Builder> dataSourceConfig) The updated data source configuration specifying CloudWatch log groups and service names to monitor.
This is a convenience method that creates an instance of theDataSourceConfig.Builderavoiding the need to create one manually viaDataSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSourceConfig(DataSourceConfig).- Parameters:
dataSourceConfig- a consumer that will call methods onDataSourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluators
The updated list of evaluators to apply during online evaluation.
- Parameters:
evaluators- The updated list of evaluators to apply during online evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluators
The updated list of evaluators to apply during online evaluation.
- Parameters:
evaluators- The updated list of evaluators to apply during online evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluators
UpdateOnlineEvaluationConfigRequest.Builder evaluators(Consumer<EvaluatorReference.Builder>... evaluators) The updated list of evaluators to apply during online evaluation.
This is a convenience method that creates an instance of theEvaluatorReference.Builderavoiding the need to create one manually viaEvaluatorReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluators(List<EvaluatorReference>).- Parameters:
evaluators- a consumer that will call methods onEvaluatorReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationExecutionRoleArn
UpdateOnlineEvaluationConfigRequest.Builder evaluationExecutionRoleArn(String evaluationExecutionRoleArn) The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution.
- Parameters:
evaluationExecutionRoleArn- The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStatus
The updated execution status to enable or disable the online evaluation.
- Parameters:
executionStatus- The updated execution status to enable or disable the online evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
UpdateOnlineEvaluationConfigRequest.Builder executionStatus(OnlineEvaluationExecutionStatus executionStatus) The updated execution status to enable or disable the online evaluation.
- Parameters:
executionStatus- The updated execution status to enable or disable the online evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateOnlineEvaluationConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateOnlineEvaluationConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-