@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getTimeRange()
The inclusive time period to retrieve the data for.
|
int |
hashCode() |
void |
setTimeRange(String timeRange)
The inclusive time period to retrieve the data for.
|
String |
toString()
Returns a string representation of this object.
|
GetUsageTotalsRequest |
withTimeRange(String timeRange)
The inclusive time period to retrieve the data for.
|
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 setTimeRange(String timeRange)
The inclusive 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 inclusive 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 inclusive 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 inclusive 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 inclusive 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 Object
Object.toString()
public GetUsageTotalsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()