Class CfnUserProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnUserProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfileProps>
- Enclosing interface:
CfnUserProfileProps
@Stability(Stable)
public static final class CfnUserProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfileProps>
A builder for
CfnUserProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainIdentifier(String domainIdentifier) Sets the value ofCfnUserProfileProps.getDomainIdentifier()Sets the value ofCfnUserProfileProps.getStatus()userIdentifier(String userIdentifier) Sets the value ofCfnUserProfileProps.getUserIdentifier()Sets the value ofCfnUserProfileProps.getUserType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainIdentifier
Sets the value ofCfnUserProfileProps.getDomainIdentifier()- Parameters:
domainIdentifier- The identifier of a Amazon DataZone domain in which a user profile exists. This parameter is required.- Returns:
this
-
userIdentifier
Sets the value ofCfnUserProfileProps.getUserIdentifier()- Parameters:
userIdentifier- The identifier of the user for which the user profile is created. This parameter is required.- Returns:
this
-
status
Sets the value ofCfnUserProfileProps.getStatus()- Parameters:
status- The status of the user profile.- Returns:
this
-
userType
Sets the value ofCfnUserProfileProps.getUserType()- Parameters:
userType- The user type of the user for which the user profile is created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfileProps>- Returns:
- a new instance of
CfnUserProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-