Interface ListReservationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReservationsResponse.Builder,,ListReservationsResponse> MediaLiveResponse.Builder,SdkBuilder<ListReservationsResponse.Builder,,ListReservationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListReservationsResponse
@Mutable
@NotThreadSafe
public static interface ListReservationsResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListReservationsResponse.Builder,ListReservationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken to retrieve the next page of resultsreservations(Collection<Reservation> reservations) List of reservationsreservations(Consumer<Reservation.Builder>... reservations) List of reservations This is a convenience method that creates an instance of theReservation.Builderavoiding the need to create one manually viaReservation.builder().reservations(Reservation... reservations) List of reservationsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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
-
nextToken
Token to retrieve the next page of results- Parameters:
nextToken- Token to retrieve the next page of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservations
List of reservations- Parameters:
reservations- List of reservations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservations
List of reservations- Parameters:
reservations- List of reservations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservations
List of reservations This is a convenience method that creates an instance of theReservation.Builderavoiding the need to create one manually viaReservation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreservations(List<Reservation>).- Parameters:
reservations- a consumer that will call methods onReservation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-