@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) |
Integer |
getMaxResults()
The maximum number of results to return in the response.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
String |
getScanName()
The name of the scan you want to retrieve findings from.
|
String |
getStatus()
The status of the findings you want to get.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
void |
setScanName(String scanName)
The name of the scan you want to retrieve findings from.
|
void |
setStatus(String status)
The status of the findings you want to get.
|
String |
toString()
Returns a string representation of this object.
|
GetFindingsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
GetFindingsRequest |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
GetFindingsRequest |
withScanName(String scanName)
The name of the scan you want to retrieve findings from.
|
GetFindingsRequest |
withStatus(Status status)
The status of the findings you want to get.
|
GetFindingsRequest |
withStatus(String status)
The status of the findings you want to get.
|
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, withSdkRequestTimeoutpublic void setMaxResults(Integer maxResults)
The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken element is returned in the
response. Use nextToken in a subsequent request to retrieve additional results. If not specified,
returns 1000 results.
maxResults - The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken element is returned in
the response. Use nextToken in a subsequent request to retrieve additional results. If not
specified, returns 1000 results.public Integer getMaxResults()
The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken element is returned in the
response. Use nextToken in a subsequent request to retrieve additional results. If not specified,
returns 1000 results.
nextToken element is returned in
the response. Use nextToken in a subsequent request to retrieve additional results. If not
specified, returns 1000 results.public GetFindingsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken element is returned in the
response. Use nextToken in a subsequent request to retrieve additional results. If not specified,
returns 1000 results.
maxResults - The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken element is returned in
the response. Use nextToken in a subsequent request to retrieve additional results. If not
specified, returns 1000 results.public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request. For subsequent calls, use the nextToken value returned from the previous
request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request. For subsequent calls, use the nextToken value returned from
the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request. For subsequent calls, use the nextToken value returned from the previous
request to continue listing results after the first page.
nextToken value returned from
the previous request to continue listing results after the first page.public GetFindingsRequest withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request. For subsequent calls, use the nextToken value returned from the previous
request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request. For subsequent calls, use the nextToken value returned from
the previous request to continue listing results after the first page.public void setScanName(String scanName)
The name of the scan you want to retrieve findings from.
scanName - The name of the scan you want to retrieve findings from.public String getScanName()
The name of the scan you want to retrieve findings from.
public GetFindingsRequest withScanName(String scanName)
The name of the scan you want to retrieve findings from.
scanName - The name of the scan you want to retrieve findings from.public void setStatus(String status)
The status of the findings you want to get. Pass either Open, Closed, or
All.
status - The status of the findings you want to get. Pass either Open, Closed, or
All.Statuspublic String getStatus()
The status of the findings you want to get. Pass either Open, Closed, or
All.
Open, Closed, or
All.Statuspublic GetFindingsRequest withStatus(String status)
The status of the findings you want to get. Pass either Open, Closed, or
All.
status - The status of the findings you want to get. Pass either Open, Closed, or
All.Statuspublic GetFindingsRequest withStatus(Status status)
The status of the findings you want to get. Pass either Open, Closed, or
All.
status - The status of the findings you want to get. Pass either Open, Closed, or
All.Statuspublic String toString()
toString in class ObjectObject.toString()public GetFindingsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()