Interface ListVodSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVodSourcesResponse.Builder,,ListVodSourcesResponse> MediaTailorResponse.Builder,SdkBuilder<ListVodSourcesResponse.Builder,,ListVodSourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVodSourcesResponse
@Mutable
@NotThreadSafe
public static interface ListVodSourcesResponse.Builder
extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<ListVodSourcesResponse.Builder,ListVodSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<VodSource> items) Lists the VOD sources.items(Consumer<VodSource.Builder>... items) Lists the VOD sources.Lists the VOD sources.Pagination token returned by the list request when results exceed the maximum allowed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.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
-
items
Lists the VOD sources.
- Parameters:
items- Lists the VOD sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Lists the VOD sources.
- Parameters:
items- Lists the VOD sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Lists the VOD sources.
This is a convenience method that creates an instance of theVodSource.Builderavoiding the need to create one manually viaVodSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<VodSource>).- Parameters:
items- a consumer that will call methods onVodSource.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.
-