Class UserProfileReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.sagemaker.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()userProfileArn(String userProfileArn) Sets the value ofUserProfileReference.getUserProfileArn()userProfileName(String userProfileName) Sets the value ofUserProfileReference.getUserProfileName()
-
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
-
userProfileArn
Sets the value ofUserProfileReference.getUserProfileArn()- Parameters:
userProfileArn- The ARN of the UserProfile resource. This parameter is required.- Returns:
this
-
userProfileName
Sets the value ofUserProfileReference.getUserProfileName()- Parameters:
userProfileName- The UserProfileName of the UserProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UserProfileReference>- Returns:
- a new instance of
UserProfileReference - Throws:
NullPointerException- if any required attribute was not provided
-