public static interface ListStreamsRequest.Builder extends KinesisVideoRequest.Builder, SdkPojo, CopyableBuilder<ListStreamsRequest.Builder,ListStreamsRequest>
Modifier and Type | Method and Description |
---|---|
ListStreamsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of streams to return in the response.
|
ListStreamsRequest.Builder |
nextToken(String nextToken)
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call
returns the NextToken in the response. |
ListStreamsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListStreamsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default ListStreamsRequest.Builder |
streamNameCondition(Consumer<StreamNameCondition.Builder> streamNameCondition)
Optional: Returns only streams that satisfy a specific condition.
|
ListStreamsRequest.Builder |
streamNameCondition(StreamNameCondition streamNameCondition)
Optional: Returns only streams that satisfy a specific condition.
|
build
overrideConfiguration
copy
applyMutation, build
ListStreamsRequest.Builder maxResults(Integer maxResults)
The maximum number of streams to return in the response. The default is 10,000.
maxResults
- The maximum number of streams to return in the response. The default is 10,000.ListStreamsRequest.Builder nextToken(String nextToken)
If you specify this parameter, when the result of a ListStreams
operation is truncated, the call
returns the NextToken
in the response. To get another batch of streams, provide this token in
your next request.
nextToken
- If you specify this parameter, when the result of a ListStreams
operation is truncated,
the call returns the NextToken
in the response. To get another batch of streams, provide
this token in your next request.ListStreamsRequest.Builder streamNameCondition(StreamNameCondition streamNameCondition)
Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
streamNameCondition
- Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the
prefix of a stream name as a condition.default ListStreamsRequest.Builder streamNameCondition(Consumer<StreamNameCondition.Builder> streamNameCondition)
Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
This is a convenience that creates an instance of theStreamNameCondition.Builder
avoiding the need
to create one manually via StreamNameCondition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to streamNameCondition(StreamNameCondition)
.streamNameCondition
- a consumer that will call methods on StreamNameCondition.Builder
streamNameCondition(StreamNameCondition)
ListStreamsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListStreamsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.