Interface ListPrefetchSchedulesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPrefetchSchedulesResponse.Builder,ListPrefetchSchedulesResponse>,MediaTailorResponse.Builder,SdkBuilder<ListPrefetchSchedulesResponse.Builder,ListPrefetchSchedulesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPrefetchSchedulesResponse
public static interface ListPrefetchSchedulesResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<ListPrefetchSchedulesResponse.Builder,ListPrefetchSchedulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPrefetchSchedulesResponse.Builderitems(Collection<PrefetchSchedule> items)Lists the prefetch schedules.ListPrefetchSchedulesResponse.Builderitems(Consumer<PrefetchSchedule.Builder>... items)Lists the prefetch schedules.ListPrefetchSchedulesResponse.Builderitems(PrefetchSchedule... items)Lists the prefetch schedules.ListPrefetchSchedulesResponse.BuildernextToken(String nextToken)Pagination token returned by the list request when results exceed the maximum allowed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
ListPrefetchSchedulesResponse.Builder items(Collection<PrefetchSchedule> items)
Lists the prefetch schedules. An empty
Itemslist doesn't mean there aren't more items to fetch, just that that page was empty.- Parameters:
items- Lists the prefetch schedules. An emptyItemslist doesn't mean there aren't more items to fetch, just that that page was empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListPrefetchSchedulesResponse.Builder items(PrefetchSchedule... items)
Lists the prefetch schedules. An empty
Itemslist doesn't mean there aren't more items to fetch, just that that page was empty.- Parameters:
items- Lists the prefetch schedules. An emptyItemslist doesn't mean there aren't more items to fetch, just that that page was empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListPrefetchSchedulesResponse.Builder items(Consumer<PrefetchSchedule.Builder>... items)
Lists the prefetch schedules. An empty
This is a convenience method that creates an instance of theItemslist doesn't mean there aren't more items to fetch, just that that page was empty.PrefetchSchedule.Builderavoiding the need to create one manually viaPrefetchSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onPrefetchSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListPrefetchSchedulesResponse.Builder nextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
- Parameters:
nextToken- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-