public class ListAuditFindingsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
Constructor and Description |
---|
ListAuditFindingsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCheckName()
A filter to limit results to the findings for the specified audit check.
|
java.util.Date |
getEndTime()
A filter to limit results to those found before the specified time.
|
java.lang.Boolean |
getListSuppressedFindings()
Boolean flag indicating whether only the suppressed findings or the
unsuppressed findings should be listed.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return at one time.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
ResourceIdentifier |
getResourceIdentifier()
Information identifying the noncompliant resource.
|
java.util.Date |
getStartTime()
A filter to limit results to those found after the specified time.
|
java.lang.String |
getTaskId()
A filter to limit results to the audit with the specified ID.
|
int |
hashCode() |
java.lang.Boolean |
isListSuppressedFindings()
Boolean flag indicating whether only the suppressed findings or the
unsuppressed findings should be listed.
|
void |
setCheckName(java.lang.String checkName)
A filter to limit results to the findings for the specified audit check.
|
void |
setEndTime(java.util.Date endTime)
A filter to limit results to those found before the specified time.
|
void |
setListSuppressedFindings(java.lang.Boolean listSuppressedFindings)
Boolean flag indicating whether only the suppressed findings or the
unsuppressed findings should be listed.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the noncompliant resource.
|
void |
setStartTime(java.util.Date startTime)
A filter to limit results to those found after the specified time.
|
void |
setTaskId(java.lang.String taskId)
A filter to limit results to the audit with the specified ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAuditFindingsRequest |
withCheckName(java.lang.String checkName)
A filter to limit results to the findings for the specified audit check.
|
ListAuditFindingsRequest |
withEndTime(java.util.Date endTime)
A filter to limit results to those found before the specified time.
|
ListAuditFindingsRequest |
withListSuppressedFindings(java.lang.Boolean listSuppressedFindings)
Boolean flag indicating whether only the suppressed findings or the
unsuppressed findings should be listed.
|
ListAuditFindingsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
ListAuditFindingsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListAuditFindingsRequest |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the noncompliant resource.
|
ListAuditFindingsRequest |
withStartTime(java.util.Date startTime)
A filter to limit results to those found after the specified time.
|
ListAuditFindingsRequest |
withTaskId(java.lang.String taskId)
A filter to limit results to the audit with the specified ID.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 noncompliant resource.
Information identifying the noncompliant resource.
public void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the noncompliant resource.
resourceIdentifier
- Information identifying the noncompliant resource.
public ListAuditFindingsRequest withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the noncompliant resource.
Returns a reference to this object so that method calls can be chained together.
resourceIdentifier
- Information identifying the noncompliant resource.
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getNextToken()
The token for the next set of results.
The token for the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.
public ListAuditFindingsRequest withNextToken(java.lang.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 java.util.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(java.util.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(java.util.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 java.util.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(java.util.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(java.util.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 java.lang.Boolean isListSuppressedFindings()
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
public java.lang.Boolean getListSuppressedFindings()
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
public void setListSuppressedFindings(java.lang.Boolean listSuppressedFindings)
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
listSuppressedFindings
- Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
public ListAuditFindingsRequest withListSuppressedFindings(java.lang.Boolean listSuppressedFindings)
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
Returns a reference to this object so that method calls can be chained together.
listSuppressedFindings
- Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.