Interface EvalCriteriaConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvalCriteriaConfig.Builder,,EvalCriteriaConfig> SdkBuilder<EvalCriteriaConfig.Builder,,EvalCriteriaConfig> SdkPojo
- Enclosing class:
EvalCriteriaConfig
@Mutable
@NotThreadSafe
public static interface EvalCriteriaConfig.Builder
extends SdkPojo, CopyableBuilder<EvalCriteriaConfig.Builder,EvalCriteriaConfig>
-
Method Summary
Modifier and TypeMethodDescriptionevalCriteriaArn(String evalCriteriaArn) The Amazon Resource Name (ARN) of the Eval Criteria, a SageMaker AI hub content resource.evalCriteriaVersion(String evalCriteriaVersion) The version of the Eval Criteria, in the formmajor.minor.patch.default EvalCriteriaConfig.Buildersampling(Consumer<ModelMonitorSampling.Builder> sampling) The sampling settings that every evaluator under the Eval Criteria shares.sampling(ModelMonitorSampling sampling) The sampling settings that every evaluator under the Eval Criteria shares.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
evalCriteriaArn
The Amazon Resource Name (ARN) of the Eval Criteria, a SageMaker AI hub content resource. The ARN can end with a version in the form
major.minor.patch.- Parameters:
evalCriteriaArn- The Amazon Resource Name (ARN) of the Eval Criteria, a SageMaker AI hub content resource. The ARN can end with a version in the formmajor.minor.patch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evalCriteriaVersion
The version of the Eval Criteria, in the form
major.minor.patch. Each part is 1 to 4 digits.- Parameters:
evalCriteriaVersion- The version of the Eval Criteria, in the formmajor.minor.patch. Each part is 1 to 4 digits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampling
The sampling settings that every evaluator under the Eval Criteria shares.
- Parameters:
sampling- The sampling settings that every evaluator under the Eval Criteria shares.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampling
The sampling settings that every evaluator under the Eval Criteria shares.
This is a convenience method that creates an instance of theModelMonitorSampling.Builderavoiding the need to create one manually viaModelMonitorSampling.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosampling(ModelMonitorSampling).- Parameters:
sampling- a consumer that will call methods onModelMonitorSampling.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-