@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFindingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetFindingsRequest() |
Modifier and Type | Method and Description |
---|---|
GetFindingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AwsSecurityFindingFilters |
getFilters()
The finding attributes used to define a condition to filter the returned findings.
|
Integer |
getMaxResults()
The maximum number of findings to return.
|
String |
getNextToken()
The token that is required for pagination.
|
List<SortCriterion> |
getSortCriteria()
The finding attributes used to sort the list of returned findings.
|
int |
hashCode() |
void |
setFilters(AwsSecurityFindingFilters filters)
The finding attributes used to define a condition to filter the returned findings.
|
void |
setMaxResults(Integer maxResults)
The maximum number of findings to return.
|
void |
setNextToken(String nextToken)
The token that is required for pagination.
|
void |
setSortCriteria(Collection<SortCriterion> sortCriteria)
The finding attributes used to sort the list of returned findings.
|
String |
toString()
Returns a string representation of this object.
|
GetFindingsRequest |
withFilters(AwsSecurityFindingFilters filters)
The finding attributes used to define a condition to filter the returned findings.
|
GetFindingsRequest |
withMaxResults(Integer maxResults)
The maximum number of findings to return.
|
GetFindingsRequest |
withNextToken(String nextToken)
The token that is required for pagination.
|
GetFindingsRequest |
withSortCriteria(Collection<SortCriterion> sortCriteria)
The finding attributes used to sort the list of returned findings.
|
GetFindingsRequest |
withSortCriteria(SortCriterion... sortCriteria)
The finding attributes used to sort the list of returned findings.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFilters(AwsSecurityFindingFilters filters)
The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a finding based
on its workflow status, use WorkflowStatus
.
filters
- The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a
finding based on its workflow status, use WorkflowStatus
.
public AwsSecurityFindingFilters getFilters()
The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a finding based
on its workflow status, use WorkflowStatus
.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a
finding based on its workflow status, use WorkflowStatus
.
public GetFindingsRequest withFilters(AwsSecurityFindingFilters filters)
The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a finding based
on its workflow status, use WorkflowStatus
.
filters
- The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a
finding based on its workflow status, use WorkflowStatus
.
public List<SortCriterion> getSortCriteria()
The finding attributes used to sort the list of returned findings.
public void setSortCriteria(Collection<SortCriterion> sortCriteria)
The finding attributes used to sort the list of returned findings.
sortCriteria
- The finding attributes used to sort the list of returned findings.public GetFindingsRequest withSortCriteria(SortCriterion... sortCriteria)
The finding attributes used to sort the list of returned findings.
NOTE: This method appends the values to the existing list (if any). Use
setSortCriteria(java.util.Collection)
or withSortCriteria(java.util.Collection)
if you want to
override the existing values.
sortCriteria
- The finding attributes used to sort the list of returned findings.public GetFindingsRequest withSortCriteria(Collection<SortCriterion> sortCriteria)
The finding attributes used to sort the list of returned findings.
sortCriteria
- The finding attributes used to sort the list of returned findings.public void setNextToken(String nextToken)
The token that is required for pagination. On your first call to the GetFindings
operation, set the
value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
nextToken
- The token that is required for pagination. On your first call to the GetFindings
operation,
set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
public String getNextToken()
The token that is required for pagination. On your first call to the GetFindings
operation, set the
value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
GetFindings
operation,
set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
public GetFindingsRequest withNextToken(String nextToken)
The token that is required for pagination. On your first call to the GetFindings
operation, set the
value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
nextToken
- The token that is required for pagination. On your first call to the GetFindings
operation,
set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
public void setMaxResults(Integer maxResults)
The maximum number of findings to return.
maxResults
- The maximum number of findings to return.public Integer getMaxResults()
The maximum number of findings to return.
public GetFindingsRequest withMaxResults(Integer maxResults)
The maximum number of findings to return.
maxResults
- The maximum number of findings to return.public String toString()
toString
in class Object
Object.toString()
public GetFindingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()