Interface DescribeDbShardGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbShardGroupsResponse.Builder,
,DescribeDbShardGroupsResponse> RdsResponse.Builder
,SdkBuilder<DescribeDbShardGroupsResponse.Builder,
,DescribeDbShardGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDbShardGroupsResponse
public static interface DescribeDbShardGroupsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbShardGroupsResponse.Builder,DescribeDbShardGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbShardGroups
(Collection<DBShardGroup> dbShardGroups) Contains a list of DB shard groups for the user.dbShardGroups
(Consumer<DBShardGroup.Builder>... dbShardGroups) Contains a list of DB shard groups for the user.dbShardGroups
(DBShardGroup... dbShardGroups) Contains a list of DB shard groups for the user.A pagination token that can be used in a laterDescribeDBClusters
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.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 Details
-
dbShardGroups
Contains a list of DB shard groups for the user.
- Parameters:
dbShardGroups
- Contains a list of DB shard groups for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbShardGroups
Contains a list of DB shard groups for the user.
- Parameters:
dbShardGroups
- Contains a list of DB shard groups for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbShardGroups
DescribeDbShardGroupsResponse.Builder dbShardGroups(Consumer<DBShardGroup.Builder>... dbShardGroups) Contains a list of DB shard groups for the user.
This is a convenience method that creates an instance of theDBShardGroup.Builder
avoiding the need to create one manually viaDBShardGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbShardGroups(List<DBShardGroup>)
.- Parameters:
dbShardGroups
- a consumer that will call methods onDBShardGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
A pagination token that can be used in a later
DescribeDBClusters
request.- Parameters:
marker
- A pagination token that can be used in a laterDescribeDBClusters
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-