Class UserReference.Builder
java.lang.Object
software.amazon.awscdk.services.memorydb.UserReference.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<UserReference>
- Enclosing interface:
 UserReference
@Stability(Stable)
public static final class UserReference.Builder
extends Object
implements software.amazon.jsii.Builder<UserReference>
A builder for 
UserReference- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofUserReference.getUserArn()Sets the value ofUserReference.getUserName() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
userArn
Sets the value ofUserReference.getUserArn()- Parameters:
 userArn- The ARN of the User resource. This parameter is required.- Returns:
 this
 - 
userName
Sets the value ofUserReference.getUserName()- Parameters:
 userName- The UserName of the User resource. This parameter is required.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<UserReference>- Returns:
 - a new instance of 
UserReference - Throws:
 NullPointerException- if any required attribute was not provided
 
 -