Interface ListCompositionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCompositionsResponse.Builder,ListCompositionsResponse>,IvsRealTimeResponse.Builder,SdkBuilder<ListCompositionsResponse.Builder,ListCompositionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCompositionsResponse
public static interface ListCompositionsResponse.Builder extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListCompositionsResponse.Builder,ListCompositionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCompositionsResponse.Buildercompositions(Collection<CompositionSummary> compositions)List of the matching Compositions (summary information only).ListCompositionsResponse.Buildercompositions(Consumer<CompositionSummary.Builder>... compositions)List of the matching Compositions (summary information only).ListCompositionsResponse.Buildercompositions(CompositionSummary... compositions)List of the matching Compositions (summary information only).ListCompositionsResponse.BuildernextToken(String nextToken)If there are more compositions thanmaxResults, usenextTokenin 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 Detail
-
compositions
ListCompositionsResponse.Builder compositions(Collection<CompositionSummary> 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
ListCompositionsResponse.Builder compositions(CompositionSummary... 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
ListCompositionsResponse.Builder compositions(Consumer<CompositionSummary.Builder>... compositions)
List of the matching Compositions (summary information only).
This is a convenience method that creates an instance of theCompositionSummary.Builderavoiding the need to create one manually viaCompositionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#compositions(List.) - 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:
#compositions(java.util.Collection)
-
nextToken
ListCompositionsResponse.Builder nextToken(String nextToken)
If there are more compositions than
maxResults, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more compositions thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-