public class ListFragmentsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns a list of Fragment objects from the specified stream and start location within the archived data.
Constructor and Description |
---|
ListFragmentsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
FragmentSelector |
getFragmentSelector()
Describes the time stamp range and time stamp origin for the range of
fragments to return.
|
java.lang.Long |
getMaxResults()
The total number of fragments to return.
|
java.lang.String |
getNextToken()
A token to specify where to start paginating.
|
java.lang.String |
getStreamName()
The name of the stream from which to retrieve a fragment list.
|
int |
hashCode() |
void |
setFragmentSelector(FragmentSelector fragmentSelector)
Describes the time stamp range and time stamp origin for the range of
fragments to return.
|
void |
setMaxResults(java.lang.Long maxResults)
The total number of fragments to return.
|
void |
setNextToken(java.lang.String nextToken)
A token to specify where to start paginating.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream from which to retrieve a fragment list.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListFragmentsRequest |
withFragmentSelector(FragmentSelector fragmentSelector)
Describes the time stamp range and time stamp origin for the range of
fragments to return.
|
ListFragmentsRequest |
withMaxResults(java.lang.Long maxResults)
The total number of fragments to return.
|
ListFragmentsRequest |
withNextToken(java.lang.String nextToken)
A token to specify where to start paginating.
|
ListFragmentsRequest |
withStreamName(java.lang.String streamName)
The name of the stream from which to retrieve a fragment list.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStreamName()
The name of the stream from which to retrieve a fragment list.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
The name of the stream from which to retrieve a fragment list.
public void setStreamName(java.lang.String streamName)
The name of the stream from which to retrieve a fragment list.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream from which to retrieve a fragment list.
public ListFragmentsRequest withStreamName(java.lang.String streamName)
The name of the stream from which to retrieve a fragment list.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream from which to retrieve a fragment list.
public java.lang.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.
Constraints:
Range: 1 - 1000
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 setMaxResults(java.lang.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.
Constraints:
Range: 1 - 1000
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 ListFragmentsRequest withMaxResults(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
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 java.lang.String getNextToken()
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
Constraints:
Length: 1 -
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
public void setNextToken(java.lang.String nextToken)
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
Constraints:
Length: 1 -
nextToken
- A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
public ListFragmentsRequest withNextToken(java.lang.String nextToken)
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken
- A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
public FragmentSelector getFragmentSelector()
Describes the time stamp range and time stamp origin for the range of fragments to return.
Describes the time stamp range and time stamp origin for the range of fragments to return.
public void setFragmentSelector(FragmentSelector fragmentSelector)
Describes the time stamp range and time stamp origin for the range of fragments to return.
fragmentSelector
- Describes the time stamp range and time stamp origin for the range of fragments to return.
public ListFragmentsRequest withFragmentSelector(FragmentSelector fragmentSelector)
Describes the time stamp range and time stamp origin for the range of fragments to return.
Returns a reference to this object so that method calls can be chained together.
fragmentSelector
- Describes the time stamp range and time stamp origin for the range of fragments to return.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.