Class CfnModelPackage.ModelPackageStatusDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelPackage.ModelPackageStatusDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackage.ModelPackageStatusDetailsProperty>
- Enclosing interface:
CfnModelPackage.ModelPackageStatusDetailsProperty
@Stability(Stable)
public static final class CfnModelPackage.ModelPackageStatusDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackage.ModelPackageStatusDetailsProperty>
A builder for
CfnModelPackage.ModelPackageStatusDetailsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.imageScanStatuses
(List<? extends Object> imageScanStatuses) Sets the value ofCfnModelPackage.ModelPackageStatusDetailsProperty.getImageScanStatuses()
imageScanStatuses
(IResolvable imageScanStatuses) Sets the value ofCfnModelPackage.ModelPackageStatusDetailsProperty.getImageScanStatuses()
validationStatuses
(List<? extends Object> validationStatuses) validationStatuses
(IResolvable validationStatuses)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
validationStatuses
@Stability(Stable) public CfnModelPackage.ModelPackageStatusDetailsProperty.Builder validationStatuses(IResolvable validationStatuses) - Parameters:
validationStatuses
- The validation status of the model package. This parameter is required.- Returns:
this
-
validationStatuses
@Stability(Stable) public CfnModelPackage.ModelPackageStatusDetailsProperty.Builder validationStatuses(List<? extends Object> validationStatuses) - Parameters:
validationStatuses
- The validation status of the model package. This parameter is required.- Returns:
this
-
imageScanStatuses
@Stability(Stable) public CfnModelPackage.ModelPackageStatusDetailsProperty.Builder imageScanStatuses(IResolvable imageScanStatuses) Sets the value ofCfnModelPackage.ModelPackageStatusDetailsProperty.getImageScanStatuses()
- Parameters:
imageScanStatuses
- The status of the scan of the Docker image container for the model package.- Returns:
this
-
imageScanStatuses
@Stability(Stable) public CfnModelPackage.ModelPackageStatusDetailsProperty.Builder imageScanStatuses(List<? extends Object> imageScanStatuses) Sets the value ofCfnModelPackage.ModelPackageStatusDetailsProperty.getImageScanStatuses()
- Parameters:
imageScanStatuses
- The status of the scan of the Docker image container for the model package.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelPackage.ModelPackageStatusDetailsProperty>
- Returns:
- a new instance of
CfnModelPackage.ModelPackageStatusDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-