Class UserProfileReference.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.UserProfileReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserProfileReference>
- Enclosing interface:
UserProfileReference
@Stability(Stable)
public static final class UserProfileReference.Builder
extends Object
implements software.amazon.jsii.Builder<UserProfileReference>
A builder for
UserProfileReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofUserProfileReference.getDomainId()
userProfileId
(String userProfileId) Sets the value ofUserProfileReference.getUserProfileId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofUserProfileReference.getDomainId()
- Parameters:
domainId
- The DomainId of the UserProfile resource. This parameter is required.- Returns:
this
-
userProfileId
Sets the value ofUserProfileReference.getUserProfileId()
- Parameters:
userProfileId
- The Id of the UserProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<UserProfileReference>
- Returns:
- a new instance of
UserProfileReference
- Throws:
NullPointerException
- if any required attribute was not provided
-