Interface DescribeUserGroupsResponse.Builder

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

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

    • userGroups

      Returns a list of user groups.

      Parameters:
      userGroups - Returns a list of user groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userGroups

      DescribeUserGroupsResponse.Builder userGroups(UserGroup... userGroups)

      Returns a list of user groups.

      Parameters:
      userGroups - Returns a list of user groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userGroups

      Returns a list of user groups.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to userGroups(List<UserGroup>).

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

      An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. >

      Parameters:
      marker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. >
      Returns:
      Returns a reference to this object so that method calls can be chained together.