Interface UpdateModelMonitorConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateModelMonitorConfigRequest.Builder,,UpdateModelMonitorConfigRequest> SageMakerRequest.Builder,SdkBuilder<UpdateModelMonitorConfigRequest.Builder,,UpdateModelMonitorConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateModelMonitorConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.Specifies whether the model monitor configuration is enabled.evaluationConfig(Consumer<EvaluationConfig.Builder> evaluationConfig) The evaluation monitoring settings.evaluationConfig(EvaluationConfig evaluationConfig) The evaluation monitoring settings.modelMonitorConfigNameOrArn(String modelMonitorConfigNameOrArn) The name or Amazon Resource Name (ARN) of the model monitor configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role that the model monitor configuration uses.scheduleConfig(Consumer<ModelMonitorScheduleConfig.Builder> scheduleConfig) The schedule on which the model monitor configuration runs.scheduleConfig(ModelMonitorScheduleConfig scheduleConfig) The schedule on which the model monitor configuration runs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
modelMonitorConfigNameOrArn
UpdateModelMonitorConfigRequest.Builder modelMonitorConfigNameOrArn(String modelMonitorConfigNameOrArn) The name or Amazon Resource Name (ARN) of the model monitor configuration. Specify one of the following:
-
The name of the model monitor configuration.
-
The Amazon Resource Name (ARN) of the model monitor configuration.
- Parameters:
modelMonitorConfigNameOrArn- The name or Amazon Resource Name (ARN) of the model monitor configuration. Specify one of the following:-
The name of the model monitor configuration.
-
The Amazon Resource Name (ARN) of the model monitor configuration.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
evaluationConfig
The evaluation monitoring settings. The settings that you specify replace the current evaluation settings. If you omit this parameter, the current value doesn't change.
- Parameters:
evaluationConfig- The evaluation monitoring settings. The settings that you specify replace the current evaluation settings. If you omit this parameter, the current value doesn't change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationConfig
default UpdateModelMonitorConfigRequest.Builder evaluationConfig(Consumer<EvaluationConfig.Builder> evaluationConfig) The evaluation monitoring settings. The settings that you specify replace the current evaluation settings. If you omit this parameter, the current value doesn't change.
This is a convenience method that creates an instance of theEvaluationConfig.Builderavoiding the need to create one manually viaEvaluationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationConfig(EvaluationConfig).- Parameters:
evaluationConfig- a consumer that will call methods onEvaluationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleConfig
The schedule on which the model monitor configuration runs. If you omit this parameter, the current value doesn't change.
- Parameters:
scheduleConfig- The schedule on which the model monitor configuration runs. If you omit this parameter, the current value doesn't change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfig
default UpdateModelMonitorConfigRequest.Builder scheduleConfig(Consumer<ModelMonitorScheduleConfig.Builder> scheduleConfig) The schedule on which the model monitor configuration runs. If you omit this parameter, the current value doesn't change.
This is a convenience method that creates an instance of theModelMonitorScheduleConfig.Builderavoiding the need to create one manually viaModelMonitorScheduleConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleConfig(ModelMonitorScheduleConfig).- Parameters:
scheduleConfig- a consumer that will call methods onModelMonitorScheduleConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that the model monitor configuration uses. If you omit this parameter, the current value doesn't change.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that the model monitor configuration uses. If you omit this parameter, the current value doesn't change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Specifies whether the model monitor configuration is enabled. Use this parameter to pause or resume the configuration.
-
true- Resume the configuration. The status becomesActive, and the configuration runs on its schedule. -
false- Pause the configuration. The status becomesInactive. The configuration keeps its schedule but doesn't run.
If you omit this parameter, the configuration stays enabled or disabled as it is. You can enable or disable a configuration only when its status is
ActiveorInactive. Otherwise, you get aConflictException.- Parameters:
enabled- Specifies whether the model monitor configuration is enabled. Use this parameter to pause or resume the configuration.-
true- Resume the configuration. The status becomesActive, and the configuration runs on its schedule. -
false- Pause the configuration. The status becomesInactive. The configuration keeps its schedule but doesn't run.
If you omit this parameter, the configuration stays enabled or disabled as it is. You can enable or disable a configuration only when its status is
ActiveorInactive. Otherwise, you get aConflictException.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, you get the result of the original request and no error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, you get the result of the original request and no error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateModelMonitorConfigRequest.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
UpdateModelMonitorConfigRequest.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.
-