Interface ListFragmentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListFragmentsRequest.Builder,ListFragmentsRequest>,KinesisVideoArchivedMediaRequest.Builder,SdkBuilder<ListFragmentsRequest.Builder,ListFragmentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListFragmentsRequest
public static interface ListFragmentsRequest.Builder extends KinesisVideoArchivedMediaRequest.Builder, SdkPojo, CopyableBuilder<ListFragmentsRequest.Builder,ListFragmentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListFragmentsRequest.BuilderfragmentSelector(Consumer<FragmentSelector.Builder> fragmentSelector)Describes the timestamp range and timestamp origin for the range of fragments to return.ListFragmentsRequest.BuilderfragmentSelector(FragmentSelector fragmentSelector)Describes the timestamp range and timestamp origin for the range of fragments to return.ListFragmentsRequest.BuildermaxResults(Long maxResults)The total number of fragments to return.ListFragmentsRequest.BuildernextToken(String nextToken)A token to specify where to start paginating.ListFragmentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListFragmentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListFragmentsRequest.BuilderstreamARN(String streamARN)The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list.ListFragmentsRequest.BuilderstreamName(String streamName)The name of the stream from which to retrieve a fragment list.-
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.kinesisvideoarchivedmedia.model.KinesisVideoArchivedMediaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
streamName
ListFragmentsRequest.Builder streamName(String streamName)
The name of the stream from which to retrieve a fragment list. Specify either this parameter or the
StreamARNparameter.- Parameters:
streamName- The name of the stream from which to retrieve a fragment list. Specify either this parameter or theStreamARNparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
ListFragmentsRequest.Builder streamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this parameter or the
StreamNameparameter.- Parameters:
streamARN- The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this parameter or theStreamNameparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListFragmentsRequest.Builder maxResults(Long maxResults)
The total number of fragments to return. If the total number of fragments available is more than the value specified in
max-results, then a ListFragmentsOutput$NextToken is provided in the output that you can use to resume pagination.- Parameters:
maxResults- The total number of fragments to return. If the total number of fragments available is more than the value specified inmax-results, then a ListFragmentsOutput$NextToken is provided in the output that you can use to resume pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListFragmentsRequest.Builder nextToken(String nextToken)
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
- Parameters:
nextToken- A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragmentSelector
ListFragmentsRequest.Builder fragmentSelector(FragmentSelector fragmentSelector)
Describes the timestamp range and timestamp origin for the range of fragments to return.
This is only required when the
NextTokenisn't passed in the API.- Parameters:
fragmentSelector- Describes the timestamp range and timestamp origin for the range of fragments to return.This is only required when the
NextTokenisn't passed in the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragmentSelector
default ListFragmentsRequest.Builder fragmentSelector(Consumer<FragmentSelector.Builder> fragmentSelector)
Describes the timestamp range and timestamp origin for the range of fragments to return.
This is a convenience method that creates an instance of theThis is only required when the
NextTokenisn't passed in the API.FragmentSelector.Builderavoiding the need to create one manually viaFragmentSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofragmentSelector(FragmentSelector).- Parameters:
fragmentSelector- a consumer that will call methods onFragmentSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fragmentSelector(FragmentSelector)
-
overrideConfiguration
ListFragmentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListFragmentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-