Interface ListStreamProcessorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStreamProcessorsResponse.Builder,
,ListStreamProcessorsResponse> RekognitionResponse.Builder
,SdkBuilder<ListStreamProcessorsResponse.Builder,
,ListStreamProcessorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStreamProcessorsResponse
public static interface ListStreamProcessorsResponse.Builder
extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<ListStreamProcessorsResponse.Builder,ListStreamProcessorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of stream processors.streamProcessors
(Collection<StreamProcessor> streamProcessors) List of stream processors that you have created.streamProcessors
(Consumer<StreamProcessor.Builder>... streamProcessors) List of stream processors that you have created.streamProcessors
(StreamProcessor... streamProcessors) List of stream processors that you have created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.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
-
nextToken
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of stream processors.
- Parameters:
nextToken
- If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of stream processors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamProcessors
List of stream processors that you have created.
- Parameters:
streamProcessors
- List of stream processors that you have created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamProcessors
List of stream processors that you have created.
- Parameters:
streamProcessors
- List of stream processors that you have created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamProcessors
ListStreamProcessorsResponse.Builder streamProcessors(Consumer<StreamProcessor.Builder>... streamProcessors) List of stream processors that you have created.
This is a convenience method that creates an instance of theStreamProcessor.Builder
avoiding the need to create one manually viaStreamProcessor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamProcessors(List<StreamProcessor>)
.- Parameters:
streamProcessors
- a consumer that will call methods onStreamProcessor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-