public class ListUploadsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the result of a list uploads request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
private java.util.List<Upload> |
uploads
Information about the uploads.
|
Constructor and Description |
---|
ListUploadsResult() |
Modifier and Type | Method and Description |
---|---|
ListUploadsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
java.util.List<Upload> |
getUploads()
Information about the uploads.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
void |
setUploads(java.util.Collection<Upload> uploads)
Information about the uploads.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUploadsResult |
withNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
ListUploadsResult |
withUploads(java.util.Collection<Upload> uploads)
Information about the uploads.
|
ListUploadsResult |
withUploads(Upload... uploads)
Information about the uploads.
|
private java.util.List<Upload> uploads
Information about the uploads.
private java.lang.String nextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public java.util.List<Upload> getUploads()
Information about the uploads.
public void setUploads(java.util.Collection<Upload> uploads)
Information about the uploads.
uploads
- Information about the uploads.public ListUploadsResult withUploads(Upload... uploads)
Information about the uploads.
NOTE: This method appends the values to the existing list (if
any). Use setUploads(java.util.Collection)
or
withUploads(java.util.Collection)
if you want to override the
existing values.
uploads
- Information about the uploads.public ListUploadsResult withUploads(java.util.Collection<Upload> uploads)
Information about the uploads.
uploads
- Information about the uploads.public void setNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large,
this is an identifier that is also returned, which can be used in
a subsequent call to this operation to return the next set of
items in the list.public java.lang.String getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public ListUploadsResult withNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large,
this is an identifier that is also returned, which can be used in
a subsequent call to this operation to return the next set of
items in the list.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListUploadsResult clone()
clone
in class java.lang.Object