Class CfnModelCardPropsMixin.AdditionalInformationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelCardPropsMixin.AdditionalInformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCardPropsMixin.AdditionalInformationProperty>
- Enclosing interface:
CfnModelCardPropsMixin.AdditionalInformationProperty
@Stability(Stable)
public static final class CfnModelCardPropsMixin.AdditionalInformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCardPropsMixin.AdditionalInformationProperty>
A builder for
CfnModelCardPropsMixin.AdditionalInformationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.caveatsAndRecommendations(String caveatsAndRecommendations) customDetails(Map<String, String> customDetails) Sets the value ofCfnModelCardPropsMixin.AdditionalInformationProperty.getCustomDetails()customDetails(IResolvable customDetails) Sets the value ofCfnModelCardPropsMixin.AdditionalInformationProperty.getCustomDetails()ethicalConsiderations(String ethicalConsiderations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
caveatsAndRecommendations
@Stability(Stable) public CfnModelCardPropsMixin.AdditionalInformationProperty.Builder caveatsAndRecommendations(String caveatsAndRecommendations) Sets the value ofCfnModelCardPropsMixin.AdditionalInformationProperty.getCaveatsAndRecommendations()- Parameters:
caveatsAndRecommendations- Caveats and recommendations for those who might use this model in their applications.- Returns:
this
-
customDetails
@Stability(Stable) public CfnModelCardPropsMixin.AdditionalInformationProperty.Builder customDetails(Map<String, String> customDetails) Sets the value ofCfnModelCardPropsMixin.AdditionalInformationProperty.getCustomDetails()- Parameters:
customDetails- Any additional information to document about the model.- Returns:
this
-
customDetails
@Stability(Stable) public CfnModelCardPropsMixin.AdditionalInformationProperty.Builder customDetails(IResolvable customDetails) Sets the value ofCfnModelCardPropsMixin.AdditionalInformationProperty.getCustomDetails()- Parameters:
customDetails- Any additional information to document about the model.- Returns:
this
-
ethicalConsiderations
@Stability(Stable) public CfnModelCardPropsMixin.AdditionalInformationProperty.Builder ethicalConsiderations(String ethicalConsiderations) - Parameters:
ethicalConsiderations- Any ethical considerations documented by the model card author.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCardPropsMixin.AdditionalInformationProperty>- Returns:
- a new instance of
CfnModelCardPropsMixin.AdditionalInformationProperty - Throws:
NullPointerException- if any required attribute was not provided
-