Class CfnModelCardPropsMixin.UserContextProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelCardPropsMixin.UserContextProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCardPropsMixin.UserContextProperty>
- Enclosing interface:
CfnModelCardPropsMixin.UserContextProperty
@Stability(Stable)
public static final class CfnModelCardPropsMixin.UserContextProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCardPropsMixin.UserContextProperty>
A builder for
CfnModelCardPropsMixin.UserContextProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnModelCardPropsMixin.UserContextProperty.getDomainId()userProfileArn(String userProfileArn) Sets the value ofCfnModelCardPropsMixin.UserContextProperty.getUserProfileArn()userProfileName(String userProfileName) Sets the value ofCfnModelCardPropsMixin.UserContextProperty.getUserProfileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
@Stability(Stable) public CfnModelCardPropsMixin.UserContextProperty.Builder domainId(String domainId) Sets the value ofCfnModelCardPropsMixin.UserContextProperty.getDomainId()- Parameters:
domainId- The domain associated with the user.- Returns:
this
-
userProfileArn
@Stability(Stable) public CfnModelCardPropsMixin.UserContextProperty.Builder userProfileArn(String userProfileArn) Sets the value ofCfnModelCardPropsMixin.UserContextProperty.getUserProfileArn()- Parameters:
userProfileArn- The Amazon Resource Name (ARN) of the user's profile.- Returns:
this
-
userProfileName
@Stability(Stable) public CfnModelCardPropsMixin.UserContextProperty.Builder userProfileName(String userProfileName) Sets the value ofCfnModelCardPropsMixin.UserContextProperty.getUserProfileName()- Parameters:
userProfileName- The name of the user's profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCardPropsMixin.UserContextProperty>- Returns:
- a new instance of
CfnModelCardPropsMixin.UserContextProperty - Throws:
NullPointerException- if any required attribute was not provided
-