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 Summary
Modifier and TypeMethodDescriptionAn optional marker returned from a prior request.userGroups(Collection<UserGroup> userGroups) Returns a list of user groups.userGroups(Consumer<UserGroup.Builder>... userGroups) Returns a list of user groups.userGroups(UserGroup... userGroups) Returns a list of user groups.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theUserGroup.Builderavoiding the need to create one manually viaUserGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserGroups(List<UserGroup>).- Parameters:
userGroups- a consumer that will call methods onUserGroup.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.
-