Interface CreateUserGroupResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateUserGroupResponse.Builder,CreateUserGroupResponse>, ElastiCacheResponse.Builder, SdkBuilder<CreateUserGroupResponse.Builder,CreateUserGroupResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateUserGroupResponse

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

    • userGroupId

      CreateUserGroupResponse.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

      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

      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

      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

      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

      CreateUserGroupResponse.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

      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

      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

      CreateUserGroupResponse.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

      CreateUserGroupResponse.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

      CreateUserGroupResponse.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

      CreateUserGroupResponse.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.