Interface DescribeDbShardGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDbShardGroupsResponse.Builder,,DescribeDbShardGroupsResponse> RdsResponse.Builder,SdkBuilder<DescribeDbShardGroupsResponse.Builder,,DescribeDbShardGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDbShardGroupsResponse
@Mutable
@NotThreadSafe
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 laterDescribeDBClustersrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDBShardGroup.builder().When the
Consumercompletes,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
DescribeDBClustersrequest.- Parameters:
marker- A pagination token that can be used in a laterDescribeDBClustersrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-