Class CfnModelCard.ContentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCard.ContentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCard.ContentProperty>
- Enclosing interface:
CfnModelCard.ContentProperty
@Stability(Stable)
public static final class CfnModelCard.ContentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCard.ContentProperty>
A builder for
CfnModelCard.ContentProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalInformation
(IResolvable additionalInformation) Sets the value ofCfnModelCard.ContentProperty.getAdditionalInformation()
additionalInformation
(CfnModelCard.AdditionalInformationProperty additionalInformation) Sets the value ofCfnModelCard.ContentProperty.getAdditionalInformation()
build()
Builds the configured instance.businessDetails
(IResolvable businessDetails) Sets the value ofCfnModelCard.ContentProperty.getBusinessDetails()
businessDetails
(CfnModelCard.BusinessDetailsProperty businessDetails) Sets the value ofCfnModelCard.ContentProperty.getBusinessDetails()
evaluationDetails
(List<? extends Object> evaluationDetails) Sets the value ofCfnModelCard.ContentProperty.getEvaluationDetails()
evaluationDetails
(IResolvable evaluationDetails) Sets the value ofCfnModelCard.ContentProperty.getEvaluationDetails()
intendedUses
(IResolvable intendedUses) Sets the value ofCfnModelCard.ContentProperty.getIntendedUses()
intendedUses
(CfnModelCard.IntendedUsesProperty intendedUses) Sets the value ofCfnModelCard.ContentProperty.getIntendedUses()
modelOverview
(IResolvable modelOverview) Sets the value ofCfnModelCard.ContentProperty.getModelOverview()
modelOverview
(CfnModelCard.ModelOverviewProperty modelOverview) Sets the value ofCfnModelCard.ContentProperty.getModelOverview()
modelPackageDetails
(IResolvable modelPackageDetails) Sets the value ofCfnModelCard.ContentProperty.getModelPackageDetails()
modelPackageDetails
(CfnModelCard.ModelPackageDetailsProperty modelPackageDetails) Sets the value ofCfnModelCard.ContentProperty.getModelPackageDetails()
trainingDetails
(IResolvable trainingDetails) Sets the value ofCfnModelCard.ContentProperty.getTrainingDetails()
trainingDetails
(CfnModelCard.TrainingDetailsProperty trainingDetails) Sets the value ofCfnModelCard.ContentProperty.getTrainingDetails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalInformation
@Stability(Stable) public CfnModelCard.ContentProperty.Builder additionalInformation(IResolvable additionalInformation) Sets the value ofCfnModelCard.ContentProperty.getAdditionalInformation()
- Parameters:
additionalInformation
- Additional information about the model.- Returns:
this
-
additionalInformation
@Stability(Stable) public CfnModelCard.ContentProperty.Builder additionalInformation(CfnModelCard.AdditionalInformationProperty additionalInformation) Sets the value ofCfnModelCard.ContentProperty.getAdditionalInformation()
- Parameters:
additionalInformation
- Additional information about the model.- Returns:
this
-
businessDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder businessDetails(IResolvable businessDetails) Sets the value ofCfnModelCard.ContentProperty.getBusinessDetails()
- Parameters:
businessDetails
- Information about how the model supports business goals.- Returns:
this
-
businessDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder businessDetails(CfnModelCard.BusinessDetailsProperty businessDetails) Sets the value ofCfnModelCard.ContentProperty.getBusinessDetails()
- Parameters:
businessDetails
- Information about how the model supports business goals.- Returns:
this
-
evaluationDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder evaluationDetails(IResolvable evaluationDetails) Sets the value ofCfnModelCard.ContentProperty.getEvaluationDetails()
- Parameters:
evaluationDetails
- An overview about the model's evaluation.- Returns:
this
-
evaluationDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder evaluationDetails(List<? extends Object> evaluationDetails) Sets the value ofCfnModelCard.ContentProperty.getEvaluationDetails()
- Parameters:
evaluationDetails
- An overview about the model's evaluation.- Returns:
this
-
intendedUses
@Stability(Stable) public CfnModelCard.ContentProperty.Builder intendedUses(IResolvable intendedUses) Sets the value ofCfnModelCard.ContentProperty.getIntendedUses()
- Parameters:
intendedUses
- The intended usage of the model.- Returns:
this
-
intendedUses
@Stability(Stable) public CfnModelCard.ContentProperty.Builder intendedUses(CfnModelCard.IntendedUsesProperty intendedUses) Sets the value ofCfnModelCard.ContentProperty.getIntendedUses()
- Parameters:
intendedUses
- The intended usage of the model.- Returns:
this
-
modelOverview
@Stability(Stable) public CfnModelCard.ContentProperty.Builder modelOverview(IResolvable modelOverview) Sets the value ofCfnModelCard.ContentProperty.getModelOverview()
- Parameters:
modelOverview
- An overview about the model.- Returns:
this
-
modelOverview
@Stability(Stable) public CfnModelCard.ContentProperty.Builder modelOverview(CfnModelCard.ModelOverviewProperty modelOverview) Sets the value ofCfnModelCard.ContentProperty.getModelOverview()
- Parameters:
modelOverview
- An overview about the model.- Returns:
this
-
modelPackageDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder modelPackageDetails(IResolvable modelPackageDetails) Sets the value ofCfnModelCard.ContentProperty.getModelPackageDetails()
- Parameters:
modelPackageDetails
- Metadata information related to model package version.- Returns:
this
-
modelPackageDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder modelPackageDetails(CfnModelCard.ModelPackageDetailsProperty modelPackageDetails) Sets the value ofCfnModelCard.ContentProperty.getModelPackageDetails()
- Parameters:
modelPackageDetails
- Metadata information related to model package version.- Returns:
this
-
trainingDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder trainingDetails(IResolvable trainingDetails) Sets the value ofCfnModelCard.ContentProperty.getTrainingDetails()
- Parameters:
trainingDetails
- An overview about model training.- Returns:
this
-
trainingDetails
@Stability(Stable) public CfnModelCard.ContentProperty.Builder trainingDetails(CfnModelCard.TrainingDetailsProperty trainingDetails) Sets the value ofCfnModelCard.ContentProperty.getTrainingDetails()
- Parameters:
trainingDetails
- An overview about model training.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelCard.ContentProperty>
- Returns:
- a new instance of
CfnModelCard.ContentProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-