Interface ListCompositionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCompositionsResponse.Builder,
,ListCompositionsResponse> IvsRealTimeResponse.Builder
,SdkBuilder<ListCompositionsResponse.Builder,
,ListCompositionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCompositionsResponse
@Mutable
@NotThreadSafe
public static interface ListCompositionsResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListCompositionsResponse.Builder,ListCompositionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncompositions
(Collection<CompositionSummary> compositions) List of the matching Compositions (summary information only).compositions
(Consumer<CompositionSummary.Builder>... compositions) List of the matching Compositions (summary information only).compositions
(CompositionSummary... compositions) List of the matching Compositions (summary information only).If there are more compositions thanmaxResults
, usenextToken
in the request to get the next set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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 Details
-
compositions
List of the matching Compositions (summary information only).
- Parameters:
compositions
- List of the matching Compositions (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositions
List of the matching Compositions (summary information only).
- Parameters:
compositions
- List of the matching Compositions (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositions
List of the matching Compositions (summary information only).
This is a convenience method that creates an instance of theCompositionSummary.Builder
avoiding the need to create one manually viaCompositionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompositions(List<CompositionSummary>)
.- Parameters:
compositions
- a consumer that will call methods onCompositionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more compositions than
maxResults
, usenextToken
in the request to get the next set.- Parameters:
nextToken
- If there are more compositions thanmaxResults
, usenextToken
in the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-