Class ListUploadsResult
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.ListUploadsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListUploadsResult extends Object implements Serializable, Cloneable
Represents the result of a list uploads request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListUploadsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListUploadsResult
clone()
boolean
equals(Object obj)
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.List<Upload>
getUploads()
Information about the uploads.int
hashCode()
void
setNextToken(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(Collection<Upload> uploads)
Information about the uploads.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListUploadsResult
withNextToken(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(Upload... uploads)
Information about the uploads.ListUploadsResult
withUploads(Collection<Upload> uploads)
Information about the uploads.
-
-
-
Method Detail
-
getUploads
public List<Upload> getUploads()
Information about the uploads.
- Returns:
- Information about the uploads.
-
setUploads
public void setUploads(Collection<Upload> uploads)
Information about the uploads.
- Parameters:
uploads
- Information about the uploads.
-
withUploads
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)
orwithUploads(java.util.Collection)
if you want to override the existing values.- Parameters:
uploads
- Information about the uploads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withUploads
public ListUploadsResult withUploads(Collection<Upload> uploads)
Information about the uploads.
- Parameters:
uploads
- Information about the uploads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(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.
- Parameters:
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.
-
getNextToken
public 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.
- Returns:
- 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.
-
withNextToken
public ListUploadsResult withNextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListUploadsResult clone()
-
-