Interface GetModelMonitorExecutionResponse.Builder

  • Method Details

    • modelMonitorConfigArn

      GetModelMonitorExecutionResponse.Builder modelMonitorConfigArn(String modelMonitorConfigArn)

      The Amazon Resource Name (ARN) of the model monitor configuration.

      Parameters:
      modelMonitorConfigArn - 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.
    • modelMonitorConfigName

      GetModelMonitorExecutionResponse.Builder modelMonitorConfigName(String 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.
    • configVersion

      GetModelMonitorExecutionResponse.Builder configVersion(Long configVersion)

      The version of the model monitor configuration that the execution used.

      Parameters:
      configVersion - The version of the model monitor configuration that the execution used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledAt

      The date and time that the execution was scheduled to run.

      Parameters:
      scheduledAt - The date and time that the execution was scheduled to run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      The date and time that the execution started.

      Parameters:
      startedAt - The date and time that the execution started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      The date and time that the execution ended.

      Parameters:
      endedAt - The date and time that the execution ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the execution.

      Parameters:
      status - The status of the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the execution.

      Parameters:
      status - The status of the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      GetModelMonitorExecutionResponse.Builder failureReason(String failureReason)

      The reason that the execution failed, if it failed.

      Parameters:
      failureReason - The reason that the execution failed, if it failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasonCode

      The reason that the execution produced no scored result. This field is absent when the execution produced a scored result.

      Parameters:
      reasonCode - The reason that the execution produced no scored result. This field is absent when the execution produced a scored result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reasonCode

      The reason that the execution produced no scored result. This field is absent when the execution produced a scored result.

      Parameters:
      reasonCode - The reason that the execution produced no scored result. This field is absent when the execution produced a scored result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tracesRead

      The number of traces that the execution read.

      Parameters:
      tracesRead - The number of traces that the execution read.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tracesSampled

      GetModelMonitorExecutionResponse.Builder tracesSampled(Long tracesSampled)

      The number of traces that the execution sampled.

      Parameters:
      tracesSampled - The number of traces that the execution sampled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scorerCount

      The number of scorers that the execution used.

      Parameters:
      scorerCount - The number of scorers that the execution used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scorerInvocationsRun

      GetModelMonitorExecutionResponse.Builder scorerInvocationsRun(Long scorerInvocationsRun)

      The number of scorer invocations that ran.

      Parameters:
      scorerInvocationsRun - The number of scorer invocations that ran.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scorerInvocationsSucceeded

      GetModelMonitorExecutionResponse.Builder scorerInvocationsSucceeded(Long scorerInvocationsSucceeded)

      The number of scorer invocations that succeeded.

      Parameters:
      scorerInvocationsSucceeded - The number of scorer invocations that succeeded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scorerInvocationsFailed

      GetModelMonitorExecutionResponse.Builder scorerInvocationsFailed(Long scorerInvocationsFailed)

      The number of scorer invocations that failed.

      Parameters:
      scorerInvocationsFailed - The number of scorer invocations that failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • perScorer

      The invocation counts for each scorer in the execution.

      Parameters:
      perScorer - The invocation counts for each scorer in the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • perScorer

      The invocation counts for each scorer in the execution.

      Parameters:
      perScorer - The invocation counts for each scorer in the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • perScorer

      The invocation counts for each scorer in the execution.

      This is a convenience method that creates an instance of the ModelMonitorScorerStat.Builder avoiding the need to create one manually via ModelMonitorScorerStat.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to perScorer(List<ModelMonitorScorerStat>).

      Parameters:
      perScorer - a consumer that will call methods on ModelMonitorScorerStat.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evalCriteriaVersion

      GetModelMonitorExecutionResponse.Builder evalCriteriaVersion(String evalCriteriaVersion)

      The version of the Eval Criteria that the execution used.

      Parameters:
      evalCriteriaVersion - The version of the Eval Criteria that the execution used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.