Interface GetModelMonitorExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetModelMonitorExecutionResponse.Builder,,GetModelMonitorExecutionResponse> SageMakerResponse.Builder,SdkBuilder<GetModelMonitorExecutionResponse.Builder,,GetModelMonitorExecutionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetModelMonitorExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfigVersion(Long configVersion) The version of the model monitor configuration that the execution used.The date and time that the execution ended.evalCriteriaVersion(String evalCriteriaVersion) The version of the Eval Criteria that the execution used.failureReason(String failureReason) The reason that the execution failed, if it failed.modelMonitorConfigArn(String modelMonitorConfigArn) The Amazon Resource Name (ARN) of the model monitor configuration.modelMonitorConfigName(String modelMonitorConfigName) The name of the model monitor configuration.perScorer(Collection<ModelMonitorScorerStat> perScorer) The invocation counts for each scorer in the execution.perScorer(Consumer<ModelMonitorScorerStat.Builder>... perScorer) The invocation counts for each scorer in the execution.perScorer(ModelMonitorScorerStat... perScorer) The invocation counts for each scorer in the execution.reasonCode(String reasonCode) The reason that the execution produced no scored result.reasonCode(ModelMonitorExecutionReasonCode reasonCode) The reason that the execution produced no scored result.scheduledAt(Instant scheduledAt) The date and time that the execution was scheduled to run.scorerCount(Integer scorerCount) The number of scorers that the execution used.scorerInvocationsFailed(Long scorerInvocationsFailed) The number of scorer invocations that failed.scorerInvocationsRun(Long scorerInvocationsRun) The number of scorer invocations that ran.scorerInvocationsSucceeded(Long scorerInvocationsSucceeded) The number of scorer invocations that succeeded.The date and time that the execution started.The status of the execution.status(ModelMonitorExecutionStatus status) The status of the execution.tracesRead(Long tracesRead) The number of traces that the execution read.tracesSampled(Long tracesSampled) The number of traces that the execution sampled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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
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
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
GetModelMonitorExecutionResponse.Builder perScorer(Consumer<ModelMonitorScorerStat.Builder>... perScorer) The invocation counts for each scorer in the execution.
This is a convenience method that creates an instance of theModelMonitorScorerStat.Builderavoiding the need to create one manually viaModelMonitorScorerStat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperScorer(List<ModelMonitorScorerStat>).- Parameters:
perScorer- a consumer that will call methods onModelMonitorScorerStat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-