@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFragmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListFragmentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListFragmentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
FragmentSelector |
getFragmentSelector()
Describes the timestamp range and timestamp origin for the range of fragments to return.
|
Long |
getMaxResults()
The total number of fragments to return.
|
String |
getNextToken()
A token to specify where to start paginating.
|
String |
getStreamName()
The name of the stream from which to retrieve a fragment list.
|
int |
hashCode() |
void |
setFragmentSelector(FragmentSelector fragmentSelector)
Describes the timestamp range and timestamp origin for the range of fragments to return.
|
void |
setMaxResults(Long maxResults)
The total number of fragments to return.
|
void |
setNextToken(String nextToken)
A token to specify where to start paginating.
|
void |
setStreamName(String streamName)
The name of the stream from which to retrieve a fragment list.
|
String |
toString()
Returns a string representation of this object.
|
ListFragmentsRequest |
withFragmentSelector(FragmentSelector fragmentSelector)
Describes the timestamp range and timestamp origin for the range of fragments to return.
|
ListFragmentsRequest |
withMaxResults(Long maxResults)
The total number of fragments to return.
|
ListFragmentsRequest |
withNextToken(String nextToken)
A token to specify where to start paginating.
|
ListFragmentsRequest |
withStreamName(String streamName)
The name of the stream from which to retrieve a fragment list.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStreamName(String streamName)
The name of the stream from which to retrieve a fragment list.
streamName
- The name of the stream from which to retrieve a fragment list.public String getStreamName()
The name of the stream from which to retrieve a fragment list.
public ListFragmentsRequest withStreamName(String streamName)
The name of the stream from which to retrieve a fragment list.
streamName
- The name of the stream from which to retrieve a fragment list.public void setMaxResults(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.
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.public Long getMaxResults()
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 ListFragmentsRequest withMaxResults(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.
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.public void setNextToken(String nextToken)
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a
previously truncated response.public String getNextToken()
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
public ListFragmentsRequest withNextToken(String nextToken)
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a
previously truncated response.public void setFragmentSelector(FragmentSelector fragmentSelector)
Describes the timestamp range and timestamp origin for the range of fragments to return.
fragmentSelector
- Describes the timestamp range and timestamp origin for the range of fragments to return.public FragmentSelector getFragmentSelector()
Describes the timestamp range and timestamp origin for the range of fragments to return.
public ListFragmentsRequest withFragmentSelector(FragmentSelector fragmentSelector)
Describes the timestamp range and timestamp origin for the range of fragments to return.
fragmentSelector
- Describes the timestamp range and timestamp origin for the range of fragments to return.public String toString()
toString
in class Object
Object.toString()
public ListFragmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()