Interface DescribeUsersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeUsersResponse.Builder,DescribeUsersResponse>
,ElastiCacheResponse.Builder
,SdkBuilder<DescribeUsersResponse.Builder,DescribeUsersResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeUsersResponse
public static interface DescribeUsersResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DescribeUsersResponse.Builder,DescribeUsersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeUsersResponse.Builder
marker(String marker)
An optional marker returned from a prior request.DescribeUsersResponse.Builder
users(Collection<User> users)
A list of users.DescribeUsersResponse.Builder
users(Consumer<User.Builder>... users)
A list of users.DescribeUsersResponse.Builder
users(User... users)
A list of users.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
users
DescribeUsersResponse.Builder users(Collection<User> users)
A list of users.
- Parameters:
users
- A list of users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
DescribeUsersResponse.Builder users(User... users)
A list of users.
- Parameters:
users
- A list of users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
DescribeUsersResponse.Builder users(Consumer<User.Builder>... users)
A list of users.
This is a convenience method that creates an instance of theUser.Builder
avoiding the need to create one manually viaUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#users(List
.) - Parameters:
users
- a consumer that will call methods onUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#users(java.util.Collection
)
-
marker
DescribeUsersResponse.Builder marker(String 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.
-
-