public static final class CfnModelPackage.UserContextProperty.Builder
extends java.lang.Object
CfnModelPackage.UserContextProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnModelPackage.UserContextProperty |
build()
Builds the configured instance.
|
CfnModelPackage.UserContextProperty.Builder |
domainId(java.lang.String domainId)
Sets the value of
CfnModelPackage.UserContextProperty.getDomainId() |
CfnModelPackage.UserContextProperty.Builder |
userProfileArn(java.lang.String userProfileArn)
Sets the value of
CfnModelPackage.UserContextProperty.getUserProfileArn() |
CfnModelPackage.UserContextProperty.Builder |
userProfileName(java.lang.String userProfileName)
Sets the value of
CfnModelPackage.UserContextProperty.getUserProfileName() |
public CfnModelPackage.UserContextProperty.Builder domainId(java.lang.String domainId)
CfnModelPackage.UserContextProperty.getDomainId()
domainId
- The domain associated with the user.this
public CfnModelPackage.UserContextProperty.Builder userProfileArn(java.lang.String userProfileArn)
CfnModelPackage.UserContextProperty.getUserProfileArn()
userProfileArn
- The Amazon Resource Name (ARN) of the user's profile.this
public CfnModelPackage.UserContextProperty.Builder userProfileName(java.lang.String userProfileName)
CfnModelPackage.UserContextProperty.getUserProfileName()
userProfileName
- The name of the user's profile.this
public CfnModelPackage.UserContextProperty build()
CfnModelPackage.UserContextProperty
java.lang.NullPointerException
- if any required attribute was not provided