public class ListFragmentsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListFragmentsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Fragment> |
getFragments()
A list of fragment numbers that correspond to the time stamp range
provided.
|
java.lang.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(java.util.Collection<Fragment> fragments)
A list of fragment numbers that correspond to the time stamp range
provided.
|
void |
setNextToken(java.lang.String nextToken)
If the returned list is truncated, the operation returns this token to
use to retrieve the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListFragmentsResult |
withFragments(java.util.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(java.lang.String nextToken)
If the returned list is truncated, the operation returns this token to
use to retrieve the next page of results.
|
public java.util.List<Fragment> getFragments()
A list of fragment numbers that correspond to the time stamp range provided.
A list of fragment numbers that correspond to the time stamp range provided.
public void setFragments(java.util.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.
Returns a reference to this object so that method calls can be chained together.
fragments
- A list of fragment numbers that correspond to the time stamp range provided.
public ListFragmentsResult withFragments(java.util.Collection<Fragment> fragments)
A list of fragment numbers that correspond to the time stamp range provided.
Returns a reference to this object so that method calls can be chained together.
fragments
- A list of fragment numbers that correspond to the time stamp range provided.
public java.lang.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.
Constraints:
Length: 1 -
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 void setNextToken(java.lang.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.
Constraints:
Length: 1 -
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 ListFragmentsResult withNextToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
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 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.