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) TheTransformJobDefinition
object that describes the transform job used for the validation of the model package.transformJobDefinition
(TransformJobDefinition transformJobDefinition) TheTransformJobDefinition
object that describes the transform job 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
-
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
TransformJobDefinition
object that describes the transform job used for the validation of the model package.- Parameters:
transformJobDefinition
- TheTransformJobDefinition
object 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 theTransformJobDefinition
object that describes the transform job used for the validation of the model package.TransformJobDefinition.Builder
avoiding the need to create one manually viaTransformJobDefinition.builder()
.When the
Consumer
completes,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:
-