@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsageTotalsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetUsageTotalsRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetUsageTotalsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getTimeRange()
The time period to retrieve the data for.
|
int |
hashCode() |
void |
setTimeRange(String timeRange)
The time period to retrieve the data for.
|
String |
toString()
Returns a string representation of this object.
|
GetUsageTotalsRequest |
withTimeRange(String timeRange)
The time period to retrieve the data for.
|
addHandlerContext, copyBaseTo, 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 setTimeRange(String timeRange)
The time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don’t specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
timeRange - The time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month
to date; and, PAST_30_DAYS, for the preceding 30 days. If you don’t specify a value for this parameter,
Amazon Macie provides aggregated usage data for the preceding 30 days.public String getTimeRange()
The time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don’t specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
public GetUsageTotalsRequest withTimeRange(String timeRange)
The time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don’t specify a value for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days.
timeRange - The time period to retrieve the data for. Valid values are: MONTH_TO_DATE, for the current calendar month
to date; and, PAST_30_DAYS, for the preceding 30 days. If you don’t specify a value for this parameter,
Amazon Macie provides aggregated usage data for the preceding 30 days.public String toString()
toString in class ObjectObject.toString()public GetUsageTotalsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.