Interface UpdateModelMonitorConfigRequest.Builder

  • 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

      UpdateModelMonitorConfigRequest.Builder evaluationConfig(EvaluationConfig 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 the EvaluationConfig.Builder avoiding the need to create one manually via EvaluationConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluationConfig(EvaluationConfig).

      Parameters:
      evaluationConfig - a consumer that will call methods on EvaluationConfig.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

      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 the ModelMonitorScheduleConfig.Builder avoiding the need to create one manually via ModelMonitorScheduleConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scheduleConfig(ModelMonitorScheduleConfig).

      Parameters:
      scheduleConfig - a consumer that will call methods on ModelMonitorScheduleConfig.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 becomes Active, and the configuration runs on its schedule.

      • false - Pause the configuration. The status becomes Inactive. 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 Active or Inactive. Otherwise, you get a ConflictException.

      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 becomes Active, and the configuration runs on its schedule.

      • false - Pause the configuration. The status becomes Inactive. 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 Active or Inactive. Otherwise, you get a ConflictException.

      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.