Interface ListStreamsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListStreamsRequest.Builder,ListStreamsRequest>,KinesisVideoRequest.Builder,SdkBuilder<ListStreamsRequest.Builder,ListStreamsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListStreamsRequest
public static interface ListStreamsRequest.Builder extends KinesisVideoRequest.Builder, SdkPojo, CopyableBuilder<ListStreamsRequest.Builder,ListStreamsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListStreamsRequest.BuildermaxResults(Integer maxResults)The maximum number of streams to return in the response.ListStreamsRequest.BuildernextToken(String nextToken)If you specify this parameter, when the result of aListStreamsoperation is truncated, the call returns theNextTokenin the response.ListStreamsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListStreamsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListStreamsRequest.BuilderstreamNameCondition(Consumer<StreamNameCondition.Builder> streamNameCondition)Optional: Returns only streams that satisfy a specific condition.ListStreamsRequest.BuilderstreamNameCondition(StreamNameCondition streamNameCondition)Optional: Returns only streams that satisfy a specific condition.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
maxResults
ListStreamsRequest.Builder maxResults(Integer maxResults)
The maximum number of streams to return in the response. The default is 10,000.
- Parameters:
maxResults- The maximum number of streams to return in the response. The default is 10,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListStreamsRequest.Builder nextToken(String nextToken)
If you specify this parameter, when the result of a
ListStreamsoperation is truncated, the call returns theNextTokenin the response. To get another batch of streams, provide this token in your next request.- Parameters:
nextToken- If you specify this parameter, when the result of aListStreamsoperation is truncated, the call returns theNextTokenin the response. To get another batch of streams, provide this token in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamNameCondition
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.
- Parameters:
streamNameCondition- Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamNameCondition
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 method that creates an instance of theStreamNameCondition.Builderavoiding the need to create one manually viaStreamNameCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamNameCondition(StreamNameCondition).- Parameters:
streamNameCondition- a consumer that will call methods onStreamNameCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
streamNameCondition(StreamNameCondition)
-
overrideConfiguration
ListStreamsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListStreamsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-