@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 |
getStreamARN()
The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list.
|
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 |
setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list.
|
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 |
withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list.
|
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. Specify either this parameter or the
StreamARN
parameter.
streamName
- The name of the stream from which to retrieve a fragment list. Specify either this parameter or the
StreamARN
parameter.public String getStreamName()
The name of the stream from which to retrieve a fragment list. Specify either this parameter or the
StreamARN
parameter.
StreamARN
parameter.public ListFragmentsRequest withStreamName(String streamName)
The name of the stream from which to retrieve a fragment list. Specify either this parameter or the
StreamARN
parameter.
streamName
- The name of the stream from which to retrieve a fragment list. Specify either this parameter or the
StreamARN
parameter.public void setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this
parameter or the StreamName
parameter.
streamARN
- The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this
parameter or the StreamName
parameter.public String getStreamARN()
The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this
parameter or the StreamName
parameter.
StreamName
parameter.public ListFragmentsRequest withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this
parameter or the StreamName
parameter.
streamARN
- The Amazon Resource Name (ARN) of the stream from which to retrieve a fragment list. Specify either this
parameter or the StreamName
parameter.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.
This is only required when the NextToken
isn't passed in the API.
fragmentSelector
- Describes the timestamp range and timestamp origin for the range of fragments to return.
This is only required when the NextToken
isn't passed in the API.
public FragmentSelector getFragmentSelector()
Describes the timestamp range and timestamp origin for the range of fragments to return.
This is only required when the NextToken
isn't passed in the API.
This is only required when the NextToken
isn't passed in the API.
public ListFragmentsRequest withFragmentSelector(FragmentSelector fragmentSelector)
Describes the timestamp range and timestamp origin for the range of fragments to return.
This is only required when the NextToken
isn't passed in the API.
fragmentSelector
- Describes the timestamp range and timestamp origin for the range of fragments to return.
This is only required when the NextToken
isn't passed in the API.
public String toString()
toString
in class Object
Object.toString()
public ListFragmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()