Class CfnUserProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUserProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProps>
- Enclosing interface:
- CfnUserProps
@Stability(Stable)
public static final class CfnUserProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProps>
A builder for
CfnUserProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.directoryUserId(String directoryUserId) Sets the value ofCfnUserProps.getDirectoryUserId()hierarchyGroupArn(String hierarchyGroupArn) Sets the value ofCfnUserProps.getHierarchyGroupArn()identityInfo(IResolvable identityInfo) Sets the value ofCfnUserProps.getIdentityInfo()identityInfo(CfnUser.UserIdentityInfoProperty identityInfo) Sets the value ofCfnUserProps.getIdentityInfo()instanceArn(String instanceArn) Sets the value ofCfnUserProps.getInstanceArn()Sets the value ofCfnUserProps.getPassword()phoneConfig(IResolvable phoneConfig) Sets the value ofCfnUserProps.getPhoneConfig()phoneConfig(CfnUser.UserPhoneConfigProperty phoneConfig) Sets the value ofCfnUserProps.getPhoneConfig()routingProfileArn(String routingProfileArn) Sets the value ofCfnUserProps.getRoutingProfileArn()securityProfileArns(List<String> securityProfileArns) Sets the value ofCfnUserProps.getSecurityProfileArns()Sets the value ofCfnUserProps.getTags()Sets the value ofCfnUserProps.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnUserProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
phoneConfig
Sets the value ofCfnUserProps.getPhoneConfig()- Parameters:
phoneConfig- Information about the phone configuration for the user. This parameter is required.- Returns:
this
-
phoneConfig
@Stability(Stable) public CfnUserProps.Builder phoneConfig(CfnUser.UserPhoneConfigProperty phoneConfig) Sets the value ofCfnUserProps.getPhoneConfig()- Parameters:
phoneConfig- Information about the phone configuration for the user. This parameter is required.- Returns:
this
-
routingProfileArn
Sets the value ofCfnUserProps.getRoutingProfileArn()- Parameters:
routingProfileArn- The Amazon Resource Name (ARN) of the user's routing profile. This parameter is required.- Returns:
this
-
securityProfileArns
@Stability(Stable) public CfnUserProps.Builder securityProfileArns(List<String> securityProfileArns) Sets the value ofCfnUserProps.getSecurityProfileArns()- Parameters:
securityProfileArns- The Amazon Resource Name (ARN) of the user's security profile. This parameter is required.- Returns:
this
-
username
Sets the value ofCfnUserProps.getUsername()- Parameters:
username- The user name assigned to the user account. This parameter is required.- Returns:
this
-
directoryUserId
Sets the value ofCfnUserProps.getDirectoryUserId()- Parameters:
directoryUserId- The identifier of the user account in the directory used for identity management.- Returns:
this
-
hierarchyGroupArn
Sets the value ofCfnUserProps.getHierarchyGroupArn()- Parameters:
hierarchyGroupArn- The Amazon Resource Name (ARN) of the user's hierarchy group.- Returns:
this
-
identityInfo
Sets the value ofCfnUserProps.getIdentityInfo()- Parameters:
identityInfo- Information about the user identity.- Returns:
this
-
identityInfo
@Stability(Stable) public CfnUserProps.Builder identityInfo(CfnUser.UserIdentityInfoProperty identityInfo) Sets the value ofCfnUserProps.getIdentityInfo()- Parameters:
identityInfo- Information about the user identity.- Returns:
this
-
password
Sets the value ofCfnUserProps.getPassword()- Parameters:
password- The user's password.- Returns:
this
-
tags
Sets the value ofCfnUserProps.getTags()- Parameters:
tags- The tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProps>- Returns:
- a new instance of
CfnUserProps - Throws:
NullPointerException- if any required attribute was not provided
-