Class CfnModelCard.BusinessDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCard.BusinessDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCard.BusinessDetailsProperty>
- Enclosing interface:
CfnModelCard.BusinessDetailsProperty
@Stability(Stable)
public static final class CfnModelCard.BusinessDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCard.BusinessDetailsProperty>
A builder for
CfnModelCard.BusinessDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.businessProblem(String businessProblem) Sets the value ofCfnModelCard.BusinessDetailsProperty.getBusinessProblem()businessStakeholders(String businessStakeholders) Sets the value ofCfnModelCard.BusinessDetailsProperty.getBusinessStakeholders()lineOfBusiness(String lineOfBusiness) Sets the value ofCfnModelCard.BusinessDetailsProperty.getLineOfBusiness()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
businessProblem
@Stability(Stable) public CfnModelCard.BusinessDetailsProperty.Builder businessProblem(String businessProblem) Sets the value ofCfnModelCard.BusinessDetailsProperty.getBusinessProblem()- Parameters:
businessProblem- The specific business problem that the model is trying to solve.- Returns:
this
-
businessStakeholders
@Stability(Stable) public CfnModelCard.BusinessDetailsProperty.Builder businessStakeholders(String businessStakeholders) Sets the value ofCfnModelCard.BusinessDetailsProperty.getBusinessStakeholders()- Parameters:
businessStakeholders- The relevant stakeholders for the model.- Returns:
this
-
lineOfBusiness
@Stability(Stable) public CfnModelCard.BusinessDetailsProperty.Builder lineOfBusiness(String lineOfBusiness) Sets the value ofCfnModelCard.BusinessDetailsProperty.getLineOfBusiness()- Parameters:
lineOfBusiness- The broader business need that the model is serving.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCard.BusinessDetailsProperty>- Returns:
- a new instance of
CfnModelCard.BusinessDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-