public class ListAuditMitigationActionsTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable
Gets a list of audit mitigation action tasks that match the specified filters.
Constructor and Description |
---|
ListAuditMitigationActionsTasksRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuditTaskId()
Specify this filter to limit results to tasks that were applied to
results for a specific audit.
|
java.util.Date |
getEndTime()
Specify this filter to limit results to tasks that were completed or
canceled on or before a specific date and time.
|
java.lang.String |
getFindingId()
Specify this filter to limit results to tasks that were applied to a
specific audit finding.
|
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.
|
java.util.Date |
getStartTime()
Specify this filter to limit results to tasks that began on or after a
specific date and time.
|
java.lang.String |
getTaskStatus()
Specify this filter to limit results to tasks that are in a specific
state.
|
int |
hashCode() |
void |
setAuditTaskId(java.lang.String auditTaskId)
Specify this filter to limit results to tasks that were applied to
results for a specific audit.
|
void |
setEndTime(java.util.Date endTime)
Specify this filter to limit results to tasks that were completed or
canceled on or before a specific date and time.
|
void |
setFindingId(java.lang.String findingId)
Specify this filter to limit results to tasks that were applied to a
specific audit finding.
|
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 |
setStartTime(java.util.Date startTime)
Specify this filter to limit results to tasks that began on or after a
specific date and time.
|
void |
setTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
Specify this filter to limit results to tasks that are in a specific
state.
|
void |
setTaskStatus(java.lang.String taskStatus)
Specify this filter to limit results to tasks that are in a specific
state.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAuditMitigationActionsTasksRequest |
withAuditTaskId(java.lang.String auditTaskId)
Specify this filter to limit results to tasks that were applied to
results for a specific audit.
|
ListAuditMitigationActionsTasksRequest |
withEndTime(java.util.Date endTime)
Specify this filter to limit results to tasks that were completed or
canceled on or before a specific date and time.
|
ListAuditMitigationActionsTasksRequest |
withFindingId(java.lang.String findingId)
Specify this filter to limit results to tasks that were applied to a
specific audit finding.
|
ListAuditMitigationActionsTasksRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
ListAuditMitigationActionsTasksRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListAuditMitigationActionsTasksRequest |
withStartTime(java.util.Date startTime)
Specify this filter to limit results to tasks that began on or after a
specific date and time.
|
ListAuditMitigationActionsTasksRequest |
withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
Specify this filter to limit results to tasks that are in a specific
state.
|
ListAuditMitigationActionsTasksRequest |
withTaskStatus(java.lang.String taskStatus)
Specify this filter to limit results to tasks that are in a specific
state.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ListAuditMitigationActionsTasksRequest()
public java.lang.String getAuditTaskId()
Specify this filter to limit results to tasks that were applied to results for a specific audit.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
Specify this filter to limit results to tasks that were applied to results for a specific audit.
public void setAuditTaskId(java.lang.String auditTaskId)
Specify this filter to limit results to tasks that were applied to results for a specific audit.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
auditTaskId
- Specify this filter to limit results to tasks that were applied to results for a specific audit.
public ListAuditMitigationActionsTasksRequest withAuditTaskId(java.lang.String auditTaskId)
Specify this filter to limit results to tasks that were applied to results for a specific audit.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
auditTaskId
- Specify this filter to limit results to tasks that were applied to results for a specific audit.
public java.lang.String getFindingId()
Specify this filter to limit results to tasks that were applied to a specific audit finding.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
Specify this filter to limit results to tasks that were applied to a specific audit finding.
public void setFindingId(java.lang.String findingId)
Specify this filter to limit results to tasks that were applied to a specific audit finding.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
findingId
- Specify this filter to limit results to tasks that were applied to a specific audit finding.
public ListAuditMitigationActionsTasksRequest withFindingId(java.lang.String findingId)
Specify this filter to limit results to tasks that were applied to a specific audit finding.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
findingId
- Specify this filter to limit results to tasks that were applied to a specific audit finding.
public java.lang.String getTaskStatus()
Specify this filter to limit results to tasks that are in a specific state.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
Specify this filter to limit results to tasks that are in a specific state.
AuditMitigationActionsTaskStatus
public void setTaskStatus(java.lang.String taskStatus)
Specify this filter to limit results to tasks that are in a specific state.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- Specify this filter to limit results to tasks that are in a specific state.
AuditMitigationActionsTaskStatus
public ListAuditMitigationActionsTasksRequest withTaskStatus(java.lang.String taskStatus)
Specify this filter to limit results to tasks that are in a specific state.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- Specify this filter to limit results to tasks that are in a specific state.
AuditMitigationActionsTaskStatus
public void setTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
Specify this filter to limit results to tasks that are in a specific state.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- Specify this filter to limit results to tasks that are in a specific state.
AuditMitigationActionsTaskStatus
public ListAuditMitigationActionsTasksRequest withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
Specify this filter to limit results to tasks that are in a specific state.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- Specify this filter to limit results to tasks that are in a specific state.
AuditMitigationActionsTaskStatus
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 ListAuditMitigationActionsTasksRequest 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 ListAuditMitigationActionsTasksRequest 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()
Specify this filter to limit results to tasks that began on or after a specific date and time.
Specify this filter to limit results to tasks that began on or after a specific date and time.
public void setStartTime(java.util.Date startTime)
Specify this filter to limit results to tasks that began on or after a specific date and time.
startTime
- Specify this filter to limit results to tasks that began on or after a specific date and time.
public ListAuditMitigationActionsTasksRequest withStartTime(java.util.Date startTime)
Specify this filter to limit results to tasks that began on or after a specific date and time.
Returns a reference to this object so that method calls can be chained together.
startTime
- Specify this filter to limit results to tasks that began on or after a specific date and time.
public java.util.Date getEndTime()
Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.
Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.
public void setEndTime(java.util.Date endTime)
Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.
endTime
- Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.
public ListAuditMitigationActionsTasksRequest withEndTime(java.util.Date endTime)
Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.
Returns a reference to this object so that method calls can be chained together.
endTime
- Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.
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.