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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLiveSourcesResponse.Builderitems(Collection<LiveSource> items)Lists the live sources.ListLiveSourcesResponse.Builderitems(Consumer<LiveSource.Builder>... items)Lists the live sources.ListLiveSourcesResponse.Builderitems(LiveSource... items)Lists the live sources.ListLiveSourcesResponse.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
ListLiveSourcesResponse.Builder items(Collection<LiveSource> 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
ListLiveSourcesResponse.Builder items(LiveSource... 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
ListLiveSourcesResponse.Builder items(Consumer<LiveSource.Builder>... items)
Lists the live sources.
This is a convenience method that creates an instance of theLiveSource.Builderavoiding the need to create one manually viaLiveSource.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 onLiveSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListLiveSourcesResponse.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.
-
-