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