@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFindingsMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListFindingsMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
ListFindingsMetricsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndDate()
The end date of the interval which you want to retrieve metrics from.
|
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.
|
Date |
getStartDate()
The start date of the interval which you want to retrieve metrics from.
|
int |
hashCode() |
void |
setEndDate(Date endDate)
The end date of the interval which you want to retrieve metrics from.
|
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 |
setStartDate(Date startDate)
The start date of the interval which you want to retrieve metrics from.
|
String |
toString()
Returns a string representation of this object.
|
ListFindingsMetricsRequest |
withEndDate(Date endDate)
The end date of the interval which you want to retrieve metrics from.
|
ListFindingsMetricsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
ListFindingsMetricsRequest |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
ListFindingsMetricsRequest |
withStartDate(Date startDate)
The start date of the interval which you want to retrieve metrics from.
|
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 setEndDate(Date endDate)
The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
endDate
- The end date of the interval which you want to retrieve metrics from. Round to the nearest day.public Date getEndDate()
The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
public ListFindingsMetricsRequest withEndDate(Date endDate)
The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
endDate
- The end date of the interval which you want to retrieve metrics from. Round to the nearest day.public 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 ListFindingsMetricsRequest 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 ListFindingsMetricsRequest 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 setStartDate(Date startDate)
The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.
startDate
- The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.public Date getStartDate()
The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.
public ListFindingsMetricsRequest withStartDate(Date startDate)
The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.
startDate
- The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.public String toString()
toString
in class Object
Object.toString()
public ListFindingsMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()