Class CfnUser.NameProperty.Builder
java.lang.Object
software.amazon.awscdk.services.identitystore.CfnUser.NameProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUser.NameProperty>
- Enclosing interface:
CfnUser.NameProperty
@Stability(Stable)
public static final class CfnUser.NameProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUser.NameProperty>
A builder for
CfnUser.NameProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.familyName(String familyName) Sets the value ofCfnUser.NameProperty.getFamilyName()Sets the value ofCfnUser.NameProperty.getFormatted()Sets the value ofCfnUser.NameProperty.getGivenName()honorificPrefix(String honorificPrefix) Sets the value ofCfnUser.NameProperty.getHonorificPrefix()honorificSuffix(String honorificSuffix) Sets the value ofCfnUser.NameProperty.getHonorificSuffix()middleName(String middleName) Sets the value ofCfnUser.NameProperty.getMiddleName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
familyName
Sets the value ofCfnUser.NameProperty.getFamilyName()- Parameters:
familyName- The family name of the user.- Returns:
this
-
formatted
Sets the value ofCfnUser.NameProperty.getFormatted()- Parameters:
formatted- A string containing a formatted version of the name for display.- Returns:
this
-
givenName
Sets the value ofCfnUser.NameProperty.getGivenName()- Parameters:
givenName- The given name of the user.- Returns:
this
-
honorificPrefix
Sets the value ofCfnUser.NameProperty.getHonorificPrefix()- Parameters:
honorificPrefix- The honorific prefix of the user.- Returns:
this
-
honorificSuffix
Sets the value ofCfnUser.NameProperty.getHonorificSuffix()- Parameters:
honorificSuffix- The honorific suffix of the user.- Returns:
this
-
middleName
Sets the value ofCfnUser.NameProperty.getMiddleName()- Parameters:
middleName- The middle name of the user.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUser.NameProperty>- Returns:
- a new instance of
CfnUser.NameProperty - Throws:
NullPointerException- if any required attribute was not provided
-