public class ListAuditFindingsRequest extends AmazonWebServiceRequest implements Serializable
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 180 days.)
| Constructor and Description |
|---|
ListAuditFindingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCheckName()
A filter to limit results to the findings for the specified audit check.
|
Date |
getEndTime()
A filter to limit results to those found before the specified time.
|
Integer |
getMaxResults()
The maximum number of results to return at one time.
|
String |
getNextToken()
The token for the next set of results.
|
ResourceIdentifier |
getResourceIdentifier()
Information identifying the non-compliant resource.
|
Date |
getStartTime()
A filter to limit results to those found after the specified time.
|
String |
getTaskId()
A filter to limit results to the audit with the specified ID.
|
int |
hashCode() |
void |
setCheckName(String checkName)
A filter to limit results to the findings for the specified audit check.
|
void |
setEndTime(Date endTime)
A filter to limit results to those found before the specified time.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the non-compliant resource.
|
void |
setStartTime(Date startTime)
A filter to limit results to those found after the specified time.
|
void |
setTaskId(String taskId)
A filter to limit results to the audit with the specified ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAuditFindingsRequest |
withCheckName(String checkName)
A filter to limit results to the findings for the specified audit check.
|
ListAuditFindingsRequest |
withEndTime(Date endTime)
A filter to limit results to those found before the specified time.
|
ListAuditFindingsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListAuditFindingsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListAuditFindingsRequest |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the non-compliant resource.
|
ListAuditFindingsRequest |
withStartTime(Date startTime)
A filter to limit results to those found after the specified time.
|
ListAuditFindingsRequest |
withTaskId(String taskId)
A filter to limit results to the audit with the specified ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTaskId()
A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
public void setTaskId(String taskId)
A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
taskId - A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
public ListAuditFindingsRequest withTaskId(String taskId)
A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
taskId - A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
public String getCheckName()
A filter to limit results to the findings for the specified audit check.
A filter to limit results to the findings for the specified audit check.
public void setCheckName(String checkName)
A filter to limit results to the findings for the specified audit check.
checkName - A filter to limit results to the findings for the specified audit check.
public ListAuditFindingsRequest withCheckName(String checkName)
A filter to limit results to the findings for the specified audit check.
Returns a reference to this object so that method calls can be chained together.
checkName - A filter to limit results to the findings for the specified audit check.
public ResourceIdentifier getResourceIdentifier()
Information identifying the non-compliant resource.
Information identifying the non-compliant resource.
public void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the non-compliant resource.
resourceIdentifier - Information identifying the non-compliant resource.
public ListAuditFindingsRequest withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the non-compliant resource.
Returns a reference to this object so that method calls can be chained together.
resourceIdentifier - Information identifying the non-compliant resource.
public Integer getMaxResults()
The maximum number of results to return at one time. The default is 25.
Constraints:
Range: 1 - 250
The maximum number of results to return at one time. The default is 25.
public void setMaxResults(Integer maxResults)
The maximum number of results to return at one time. The default is 25.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time. The default is 25.
public ListAuditFindingsRequest withMaxResults(Integer maxResults)
The maximum number of results to return at one time. The default is 25.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time. The default is 25.
public String getNextToken()
The token for the next set of results.
The token for the next set of results.
public void setNextToken(String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.
public ListAuditFindingsRequest withNextToken(String nextToken)
The token for the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results.
public Date getStartTime()
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
public void setStartTime(Date startTime)
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
startTime - A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
public ListAuditFindingsRequest withStartTime(Date startTime)
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
Returns a reference to this object so that method calls can be chained together.
startTime - A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
public Date getEndTime()
A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
public void setEndTime(Date endTime)
A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
endTime - A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
public ListAuditFindingsRequest withEndTime(Date endTime)
A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
Returns a reference to this object so that method calls can be chained together.
endTime - A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.