@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchTasksResult() |
Modifier and Type | Method and Description |
---|---|
SearchTasksResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getNextItemOffset()
The next incremental starting point after the defined
itemOffset . |
List<TaskSearchSummary> |
getTasks()
Tasks in the search.
|
Integer |
getTotalResults()
The total number of results in the search.
|
int |
hashCode() |
void |
setNextItemOffset(Integer nextItemOffset)
The next incremental starting point after the defined
itemOffset . |
void |
setTasks(Collection<TaskSearchSummary> tasks)
Tasks in the search.
|
void |
setTotalResults(Integer totalResults)
The total number of results in the search.
|
String |
toString()
Returns a string representation of this object.
|
SearchTasksResult |
withNextItemOffset(Integer nextItemOffset)
The next incremental starting point after the defined
itemOffset . |
SearchTasksResult |
withTasks(Collection<TaskSearchSummary> tasks)
Tasks in the search.
|
SearchTasksResult |
withTasks(TaskSearchSummary... tasks)
Tasks in the search.
|
SearchTasksResult |
withTotalResults(Integer totalResults)
The total number of results in the search.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextItemOffset(Integer nextItemOffset)
The next incremental starting point after the defined itemOffset
.
nextItemOffset
- The next incremental starting point after the defined itemOffset
.public Integer getNextItemOffset()
The next incremental starting point after the defined itemOffset
.
itemOffset
.public SearchTasksResult withNextItemOffset(Integer nextItemOffset)
The next incremental starting point after the defined itemOffset
.
nextItemOffset
- The next incremental starting point after the defined itemOffset
.public List<TaskSearchSummary> getTasks()
Tasks in the search.
public void setTasks(Collection<TaskSearchSummary> tasks)
Tasks in the search.
tasks
- Tasks in the search.public SearchTasksResult withTasks(TaskSearchSummary... tasks)
Tasks in the search.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)
or withTasks(java.util.Collection)
if you want to override the
existing values.
tasks
- Tasks in the search.public SearchTasksResult withTasks(Collection<TaskSearchSummary> tasks)
Tasks in the search.
tasks
- Tasks in the search.public void setTotalResults(Integer totalResults)
The total number of results in the search.
totalResults
- The total number of results in the search.public Integer getTotalResults()
The total number of results in the search.
public SearchTasksResult withTotalResults(Integer totalResults)
The total number of results in the search.
totalResults
- The total number of results in the search.public String toString()
toString
in class Object
Object.toString()
public SearchTasksResult clone()