Class UserGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.UserGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserGroupReference>
- Enclosing interface:
UserGroupReference
@Stability(Stable)
public static final class UserGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<UserGroupReference>
A builder for
UserGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.userGroupArn
(String userGroupArn) Sets the value ofUserGroupReference.getUserGroupArn()
userGroupId
(String userGroupId) Sets the value ofUserGroupReference.getUserGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userGroupArn
Sets the value ofUserGroupReference.getUserGroupArn()
- Parameters:
userGroupArn
- The ARN of the UserGroup resource. This parameter is required.- Returns:
this
-
userGroupId
Sets the value ofUserGroupReference.getUserGroupId()
- Parameters:
userGroupId
- The UserGroupId of the UserGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<UserGroupReference>
- Returns:
- a new instance of
UserGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-