Class CfnUser.UserProficiencyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUser.UserProficiencyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUser.UserProficiencyProperty>
- Enclosing interface:
CfnUser.UserProficiencyProperty
@Stability(Stable)
public static final class CfnUser.UserProficiencyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUser.UserProficiencyProperty>
A builder for
CfnUser.UserProficiencyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) Sets the value ofCfnUser.UserProficiencyProperty.getAttributeName()
attributeValue
(String attributeValue) Sets the value ofCfnUser.UserProficiencyProperty.getAttributeValue()
build()
Builds the configured instance.Sets the value ofCfnUser.UserProficiencyProperty.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeName
@Stability(Stable) public CfnUser.UserProficiencyProperty.Builder attributeName(String attributeName) Sets the value ofCfnUser.UserProficiencyProperty.getAttributeName()
- Parameters:
attributeName
- The name of user’s proficiency. This parameter is required. You must use a predefined attribute name that is present in the Amazon Connect instance.- Returns:
this
-
attributeValue
@Stability(Stable) public CfnUser.UserProficiencyProperty.Builder attributeValue(String attributeValue) Sets the value ofCfnUser.UserProficiencyProperty.getAttributeValue()
- Parameters:
attributeValue
- The value of user’s proficiency. This parameter is required. You must use a predefined attribute value that is present in the Amazon Connect instance.- Returns:
this
-
level
Sets the value ofCfnUser.UserProficiencyProperty.getLevel()
- Parameters:
level
- The level of the proficiency. This parameter is required. The valid values are 1, 2, 3, 4 and 5.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUser.UserProficiencyProperty>
- Returns:
- a new instance of
CfnUser.UserProficiencyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-