Interface UserGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UserGroup.Builder,UserGroup>, SdkBuilder<UserGroup.Builder,UserGroup>, SdkPojo
Enclosing class:
UserGroup

public static interface UserGroup.Builder extends SdkPojo, CopyableBuilder<UserGroup.Builder,UserGroup>
  • Method Details

    • userGroupId

      UserGroup.Builder userGroupId(String userGroupId)

      The ID of the user group.

      Parameters:
      userGroupId - The ID of the user group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      UserGroup.Builder status(String status)

      Indicates user group status. Can be "creating", "active", "modifying", "deleting".

      Parameters:
      status - Indicates user group status. Can be "creating", "active", "modifying", "deleting".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      UserGroup.Builder engine(String engine)

      The current supported value is Redis.

      Parameters:
      engine - The current supported value is Redis.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userIds

      UserGroup.Builder userIds(Collection<String> userIds)

      The list of user IDs that belong to the user group.

      Parameters:
      userIds - The list of user IDs that belong to the user group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userIds

      UserGroup.Builder userIds(String... userIds)

      The list of user IDs that belong to the user group.

      Parameters:
      userIds - The list of user IDs that belong to the user group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minimumEngineVersion

      UserGroup.Builder minimumEngineVersion(String minimumEngineVersion)

      The minimum engine version required, which is Redis 6.0

      Parameters:
      minimumEngineVersion - The minimum engine version required, which is Redis 6.0
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingChanges

      UserGroup.Builder pendingChanges(UserGroupPendingChanges pendingChanges)

      A list of updates being applied to the user group.

      Parameters:
      pendingChanges - A list of updates being applied to the user group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pendingChanges

      default UserGroup.Builder pendingChanges(Consumer<UserGroupPendingChanges.Builder> pendingChanges)

      A list of updates being applied to the user group.

      This is a convenience method that creates an instance of the UserGroupPendingChanges.Builder avoiding the need to create one manually via UserGroupPendingChanges.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pendingChanges(UserGroupPendingChanges).

      Parameters:
      pendingChanges - a consumer that will call methods on UserGroupPendingChanges.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • replicationGroups

      UserGroup.Builder replicationGroups(Collection<String> replicationGroups)

      A list of replication groups that the user group can access.

      Parameters:
      replicationGroups - A list of replication groups that the user group can access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationGroups

      UserGroup.Builder replicationGroups(String... replicationGroups)

      A list of replication groups that the user group can access.

      Parameters:
      replicationGroups - A list of replication groups that the user group can access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCaches

      UserGroup.Builder serverlessCaches(Collection<String> serverlessCaches)

      Indicates which serverless caches the specified user group is associated with. Available for Redis only.

      Parameters:
      serverlessCaches - Indicates which serverless caches the specified user group is associated with. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCaches

      UserGroup.Builder serverlessCaches(String... serverlessCaches)

      Indicates which serverless caches the specified user group is associated with. Available for Redis only.

      Parameters:
      serverlessCaches - Indicates which serverless caches the specified user group is associated with. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the user group.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the user group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.