@Generated(value="software.amazon.awssdk:codegen") public final class ListFragmentsRequest extends KinesisVideoArchivedMediaRequest implements ToCopyableBuilder<ListFragmentsRequest.Builder,ListFragmentsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListFragmentsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListFragmentsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
FragmentSelector |
fragmentSelector()
Describes the time stamp range and time stamp origin for the range of fragments to return.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Long |
maxResults()
The total number of fragments to return.
|
String |
nextToken()
A token to specify where to start paginating.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListFragmentsRequest.Builder> |
serializableBuilderClass() |
String |
streamName()
The name of the stream from which to retrieve a fragment list.
|
ListFragmentsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String streamName()
The name of the stream from which to retrieve a fragment list.
public 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.
max-results
, then a ListFragmentsOutput$NextToken is provided in
the output that you can use to resume pagination.public String nextToken()
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
public FragmentSelector fragmentSelector()
Describes the time stamp range and time stamp origin for the range of fragments to return.
public ListFragmentsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListFragmentsRequest.Builder,ListFragmentsRequest>
toBuilder
in class KinesisVideoArchivedMediaRequest
public static ListFragmentsRequest.Builder builder()
public static Class<? extends ListFragmentsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.