Class CfnModelCardPropsMixin.IntendedUsesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelCardPropsMixin.IntendedUsesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCardPropsMixin.IntendedUsesProperty>
- Enclosing interface:
CfnModelCardPropsMixin.IntendedUsesProperty
@Stability(Stable)
public static final class CfnModelCardPropsMixin.IntendedUsesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCardPropsMixin.IntendedUsesProperty>
A builder for
CfnModelCardPropsMixin.IntendedUsesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.explanationsForRiskRating(String explanationsForRiskRating) factorsAffectingModelEfficiency(String factorsAffectingModelEfficiency) intendedUses(String intendedUses) Sets the value ofCfnModelCardPropsMixin.IntendedUsesProperty.getIntendedUses()purposeOfModel(String purposeOfModel) Sets the value ofCfnModelCardPropsMixin.IntendedUsesProperty.getPurposeOfModel()riskRating(String riskRating) Sets the value ofCfnModelCardPropsMixin.IntendedUsesProperty.getRiskRating()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
explanationsForRiskRating
@Stability(Stable) public CfnModelCardPropsMixin.IntendedUsesProperty.Builder explanationsForRiskRating(String explanationsForRiskRating) - Parameters:
explanationsForRiskRating- An explanation of why your organization categorizes the model with its risk rating.- Returns:
this
-
factorsAffectingModelEfficiency
@Stability(Stable) public CfnModelCardPropsMixin.IntendedUsesProperty.Builder factorsAffectingModelEfficiency(String factorsAffectingModelEfficiency) - Parameters:
factorsAffectingModelEfficiency- Factors affecting model efficacy.- Returns:
this
-
intendedUses
@Stability(Stable) public CfnModelCardPropsMixin.IntendedUsesProperty.Builder intendedUses(String intendedUses) Sets the value ofCfnModelCardPropsMixin.IntendedUsesProperty.getIntendedUses()- Parameters:
intendedUses- The intended use cases for the model.- Returns:
this
-
purposeOfModel
@Stability(Stable) public CfnModelCardPropsMixin.IntendedUsesProperty.Builder purposeOfModel(String purposeOfModel) Sets the value ofCfnModelCardPropsMixin.IntendedUsesProperty.getPurposeOfModel()- Parameters:
purposeOfModel- The general purpose of the model.- Returns:
this
-
riskRating
@Stability(Stable) public CfnModelCardPropsMixin.IntendedUsesProperty.Builder riskRating(String riskRating) Sets the value ofCfnModelCardPropsMixin.IntendedUsesProperty.getRiskRating()- Parameters:
riskRating- Your organization's risk rating. You can specify one the following values as the risk rating:.- High
- Medium
- Low
- Unknown
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCardPropsMixin.IntendedUsesProperty>- Returns:
- a new instance of
CfnModelCardPropsMixin.IntendedUsesProperty - Throws:
NullPointerException- if any required attribute was not provided
-