@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAuditTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAuditTasksResult() |
Modifier and Type | Method and Description |
---|---|
ListAuditTasksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
List<AuditTaskMetadata> |
getTasks()
The audits that were performed during the specified time period.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
void |
setTasks(Collection<AuditTaskMetadata> tasks)
The audits that were performed during the specified time period.
|
String |
toString()
Returns a string representation of this object.
|
ListAuditTasksResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
ListAuditTasksResult |
withTasks(AuditTaskMetadata... tasks)
The audits that were performed during the specified time period.
|
ListAuditTasksResult |
withTasks(Collection<AuditTaskMetadata> tasks)
The audits that were performed during the specified time period.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AuditTaskMetadata> getTasks()
The audits that were performed during the specified time period.
public void setTasks(Collection<AuditTaskMetadata> tasks)
The audits that were performed during the specified time period.
tasks
- The audits that were performed during the specified time period.public ListAuditTasksResult withTasks(AuditTaskMetadata... tasks)
The audits that were performed during the specified time period.
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
- The audits that were performed during the specified time period.public ListAuditTasksResult withTasks(Collection<AuditTaskMetadata> tasks)
The audits that were performed during the specified time period.
tasks
- The audits that were performed during the specified time period.public void setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String getNextToken()
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
null
if there are no
additional results.public ListAuditTasksResult withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String toString()
toString
in class Object
Object.toString()
public ListAuditTasksResult clone()