Interface ModelPackageValidationProfile.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelPackageValidationProfile.Builder,,ModelPackageValidationProfile> SdkBuilder<ModelPackageValidationProfile.Builder,,ModelPackageValidationProfile> SdkPojo
- Enclosing class:
ModelPackageValidationProfile
public static interface ModelPackageValidationProfile.Builder
extends SdkPojo, CopyableBuilder<ModelPackageValidationProfile.Builder,ModelPackageValidationProfile>
-
Method Summary
Modifier and TypeMethodDescriptionprofileName(String profileName) The name of the profile for the model package.transformJobDefinition(Consumer<TransformJobDefinition.Builder> transformJobDefinition) TheTransformJobDefinitionobject that describes the transform job used for the validation of the model package.transformJobDefinition(TransformJobDefinition transformJobDefinition) TheTransformJobDefinitionobject that describes the transform job used for the validation of the model package.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, sdkFields
-
Method Details
-
profileName
The name of the profile for the model package.
- Parameters:
profileName- The name of the profile for the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformJobDefinition
ModelPackageValidationProfile.Builder transformJobDefinition(TransformJobDefinition transformJobDefinition) The
TransformJobDefinitionobject that describes the transform job used for the validation of the model package.- Parameters:
transformJobDefinition- TheTransformJobDefinitionobject that describes the transform job used for the validation of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformJobDefinition
default ModelPackageValidationProfile.Builder transformJobDefinition(Consumer<TransformJobDefinition.Builder> transformJobDefinition) The
This is a convenience method that creates an instance of theTransformJobDefinitionobject that describes the transform job used for the validation of the model package.TransformJobDefinition.Builderavoiding the need to create one manually viaTransformJobDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransformJobDefinition(TransformJobDefinition).- Parameters:
transformJobDefinition- a consumer that will call methods onTransformJobDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-