@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFragmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListFragmentsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListFragmentsResult |
clone() |
boolean |
equals(Object obj) |
List<Fragment> |
getFragments()
A list of fragment numbers that correspond to the time stamp range provided.
|
String |
getNextToken()
If the returned list is truncated, the operation returns this token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setFragments(Collection<Fragment> fragments)
A list of fragment numbers that correspond to the time stamp range provided.
|
void |
setNextToken(String nextToken)
If the returned list is truncated, the operation returns this token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListFragmentsResult |
withFragments(Collection<Fragment> fragments)
A list of fragment numbers that correspond to the time stamp range provided.
|
ListFragmentsResult |
withFragments(Fragment... fragments)
A list of fragment numbers that correspond to the time stamp range provided.
|
ListFragmentsResult |
withNextToken(String nextToken)
If the returned list is truncated, the operation returns this token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Fragment> getFragments()
A list of fragment numbers that correspond to the time stamp range provided.
public void setFragments(Collection<Fragment> fragments)
A list of fragment numbers that correspond to the time stamp range provided.
fragments - A list of fragment numbers that correspond to the time stamp range provided.public ListFragmentsResult withFragments(Fragment... fragments)
A list of fragment numbers that correspond to the time stamp range provided.
NOTE: This method appends the values to the existing list (if any). Use
setFragments(java.util.Collection) or withFragments(java.util.Collection) if you want to
override the existing values.
fragments - A list of fragment numbers that correspond to the time stamp range provided.public ListFragmentsResult withFragments(Collection<Fragment> fragments)
A list of fragment numbers that correspond to the time stamp range provided.
fragments - A list of fragment numbers that correspond to the time stamp range provided.public void setNextToken(String nextToken)
If the returned list is truncated, the operation returns this token to use to retrieve the next page of results.
This value is null when there are no more results to return.
nextToken - If the returned list is truncated, the operation returns this token to use to retrieve the next page of
results. This value is null when there are no more results to return.public String getNextToken()
If the returned list is truncated, the operation returns this token to use to retrieve the next page of results.
This value is null when there are no more results to return.
null when there are no more results to return.public ListFragmentsResult withNextToken(String nextToken)
If the returned list is truncated, the operation returns this token to use to retrieve the next page of results.
This value is null when there are no more results to return.
nextToken - If the returned list is truncated, the operation returns this token to use to retrieve the next page of
results. This value is null when there are no more results to return.public String toString()
toString in class ObjectObject.toString()public ListFragmentsResult clone()
Copyright © 2018. All rights reserved.