Interface ListLiveSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLiveSourcesResponse.Builder,
,ListLiveSourcesResponse> MediaTailorResponse.Builder
,SdkBuilder<ListLiveSourcesResponse.Builder,
,ListLiveSourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLiveSourcesResponse
public static interface ListLiveSourcesResponse.Builder
extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<ListLiveSourcesResponse.Builder,ListLiveSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<LiveSource> items) Lists the live sources.items
(Consumer<LiveSource.Builder>... items) Lists the live sources.items
(LiveSource... items) Lists the live sources.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
Lists the live sources.
- Parameters:
items
- Lists the live sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Lists the live sources.
- Parameters:
items
- Lists the live sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Lists the live sources.
This is a convenience method that creates an instance of theLiveSource.Builder
avoiding the need to create one manually viaLiveSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<LiveSource>)
.- Parameters:
items
- a consumer that will call methods onLiveSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-