Interface ModelPackageValidationSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModelPackageValidationSpecification.Builder,
,ModelPackageValidationSpecification> SdkBuilder<ModelPackageValidationSpecification.Builder,
,ModelPackageValidationSpecification> SdkPojo
- Enclosing class:
ModelPackageValidationSpecification
public static interface ModelPackageValidationSpecification.Builder
extends SdkPojo, CopyableBuilder<ModelPackageValidationSpecification.Builder,ModelPackageValidationSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionvalidationProfiles
(Collection<ModelPackageValidationProfile> validationProfiles) An array ofModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.validationProfiles
(Consumer<ModelPackageValidationProfile.Builder>... validationProfiles) An array ofModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.validationProfiles
(ModelPackageValidationProfile... validationProfiles) An array ofModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.validationRole
(String validationRole) The IAM roles to be used for the validation of the model package.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
validationRole
The IAM roles to be used for the validation of the model package.
- Parameters:
validationRole
- The IAM roles to be used for the validation of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationProfiles
ModelPackageValidationSpecification.Builder validationProfiles(Collection<ModelPackageValidationProfile> validationProfiles) An array of
ModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.- Parameters:
validationProfiles
- An array ofModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationProfiles
ModelPackageValidationSpecification.Builder validationProfiles(ModelPackageValidationProfile... validationProfiles) An array of
ModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.- Parameters:
validationProfiles
- An array ofModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationProfiles
ModelPackageValidationSpecification.Builder validationProfiles(Consumer<ModelPackageValidationProfile.Builder>... validationProfiles) An array of
This is a convenience method that creates an instance of theModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.ModelPackageValidationProfile.Builder
avoiding the need to create one manually viaModelPackageValidationProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationProfiles(List<ModelPackageValidationProfile>)
.- Parameters:
validationProfiles
- a consumer that will call methods onModelPackageValidationProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-