Interface DescribeDbCapacityReservationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDbCapacityReservationsResponse.Builder,,DescribeDbCapacityReservationsResponse> RdsResponse.Builder,SdkBuilder<DescribeDbCapacityReservationsResponse.Builder,,DescribeDbCapacityReservationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDbCapacityReservationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeDbCapacityReservationsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbCapacityReservationsResponse.Builder,DescribeDbCapacityReservationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbCapacityReservations(Collection<DBCapacityReservation> dbCapacityReservations) A list of DB capacity reservations.dbCapacityReservations(Consumer<DBCapacityReservation.Builder>... dbCapacityReservations) A list of DB capacity reservations.dbCapacityReservations(DBCapacityReservation... dbCapacityReservations) A list of DB capacity reservations.A pagination token that you can use in a laterDescribeDBCapacityReservationsrequest.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
-
dbCapacityReservations
DescribeDbCapacityReservationsResponse.Builder dbCapacityReservations(Collection<DBCapacityReservation> dbCapacityReservations) A list of DB capacity reservations.
- Parameters:
dbCapacityReservations- A list of DB capacity reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbCapacityReservations
DescribeDbCapacityReservationsResponse.Builder dbCapacityReservations(DBCapacityReservation... dbCapacityReservations) A list of DB capacity reservations.
- Parameters:
dbCapacityReservations- A list of DB capacity reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbCapacityReservations
DescribeDbCapacityReservationsResponse.Builder dbCapacityReservations(Consumer<DBCapacityReservation.Builder>... dbCapacityReservations) A list of DB capacity reservations.
This is a convenience method that creates an instance of theDBCapacityReservation.Builderavoiding the need to create one manually viaDBCapacityReservation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbCapacityReservations(List<DBCapacityReservation>).- Parameters:
dbCapacityReservations- a consumer that will call methods onDBCapacityReservation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
A pagination token that you can use in a later
DescribeDBCapacityReservationsrequest. If this value is returned, more records are available beyond this response.- Parameters:
marker- A pagination token that you can use in a laterDescribeDBCapacityReservationsrequest. If this value is returned, more records are available beyond this response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-