Interface CreateModelMonitorConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateModelMonitorConfigRequest.Builder,,CreateModelMonitorConfigRequest> SageMakerRequest.Builder,SdkBuilder<CreateModelMonitorConfigRequest.Builder,,CreateModelMonitorConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateModelMonitorConfigRequest
-
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.evaluationConfig(Consumer<EvaluationConfig.Builder> evaluationConfig) The evaluation monitoring settings.evaluationConfig(EvaluationConfig evaluationConfig) The evaluation monitoring settings.modelMonitorConfigName(String modelMonitorConfigName) The name of the model monitor configuration.monitoringSource(Consumer<MonitoringSource.Builder> monitoringSource) The source that the model monitor configuration monitors.monitoringSource(MonitoringSource monitoringSource) The source that the model monitor configuration monitors.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.tags(Collection<Tag> tags) A list of key-value pairs to apply to the model monitor configuration.tags(Consumer<Tag.Builder>... tags) A list of key-value pairs to apply to the model monitor configuration.A list of key-value pairs to apply to the model monitor configuration.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
-
modelMonitorConfigName
The name of the model monitor configuration.
- Parameters:
modelMonitorConfigName- The name of the model monitor configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringSource
The source that the model monitor configuration monitors.
- Parameters:
monitoringSource- The source that the model monitor configuration monitors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringSource
default CreateModelMonitorConfigRequest.Builder monitoringSource(Consumer<MonitoringSource.Builder> monitoringSource) The source that the model monitor configuration monitors.
This is a convenience method that creates an instance of theMonitoringSource.Builderavoiding the need to create one manually viaMonitoringSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonitoringSource(MonitoringSource).- Parameters:
monitoringSource- a consumer that will call methods onMonitoringSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationConfig
The evaluation monitoring settings. Specify
EvaluationConfig.- Parameters:
evaluationConfig- The evaluation monitoring settings. SpecifyEvaluationConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationConfig
default CreateModelMonitorConfigRequest.Builder evaluationConfig(Consumer<EvaluationConfig.Builder> evaluationConfig) The evaluation monitoring settings. Specify
This is a convenience method that creates an instance of theEvaluationConfig.EvaluationConfig.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.
- Parameters:
scheduleConfig- The schedule on which the model monitor configuration runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfig
default CreateModelMonitorConfigRequest.Builder scheduleConfig(Consumer<ModelMonitorScheduleConfig.Builder> scheduleConfig) The schedule on which the model monitor configuration runs.
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.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that the model monitor configuration uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to apply to the model monitor configuration. For information about tagging, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
- Parameters:
tags- A list of key-value pairs to apply to the model monitor configuration. For information about tagging, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to apply to the model monitor configuration. For information about tagging, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
- Parameters:
tags- A list of key-value pairs to apply to the model monitor configuration. For information about tagging, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to apply to the model monitor configuration. For information about tagging, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
CreateModelMonitorConfigRequest.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
CreateModelMonitorConfigRequest.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.
-