@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetApproximateUsageRecordsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetApproximateUsageRecordsRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetApproximateUsageRecordsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApproximationDimension()
The service to evaluate for the usage records.
|
String |
getGranularity()
How granular you want the data to be.
|
List<String> |
getServices()
The service metadata for the service or services you want to query.
|
int |
hashCode() |
void |
setApproximationDimension(String approximationDimension)
The service to evaluate for the usage records.
|
void |
setGranularity(String granularity)
How granular you want the data to be.
|
void |
setServices(Collection<String> services)
The service metadata for the service or services you want to query.
|
String |
toString()
Returns a string representation of this object.
|
GetApproximateUsageRecordsRequest |
withApproximationDimension(ApproximationDimension approximationDimension)
The service to evaluate for the usage records.
|
GetApproximateUsageRecordsRequest |
withApproximationDimension(String approximationDimension)
The service to evaluate for the usage records.
|
GetApproximateUsageRecordsRequest |
withGranularity(Granularity granularity)
How granular you want the data to be.
|
GetApproximateUsageRecordsRequest |
withGranularity(String granularity)
How granular you want the data to be.
|
GetApproximateUsageRecordsRequest |
withServices(Collection<String> services)
The service metadata for the service or services you want to query.
|
GetApproximateUsageRecordsRequest |
withServices(String... services)
The service metadata for the service or services you want to query.
|
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 setGranularity(String granularity)
How granular you want the data to be. You can enable data at hourly or daily granularity.
granularity - How granular you want the data to be. You can enable data at hourly or daily granularity.Granularitypublic String getGranularity()
How granular you want the data to be. You can enable data at hourly or daily granularity.
Granularitypublic GetApproximateUsageRecordsRequest withGranularity(String granularity)
How granular you want the data to be. You can enable data at hourly or daily granularity.
granularity - How granular you want the data to be. You can enable data at hourly or daily granularity.Granularitypublic GetApproximateUsageRecordsRequest withGranularity(Granularity granularity)
How granular you want the data to be. You can enable data at hourly or daily granularity.
granularity - How granular you want the data to be. You can enable data at hourly or daily granularity.Granularitypublic List<String> getServices()
The service metadata for the service or services you want to query. If not specified, all elements are returned.
public void setServices(Collection<String> services)
The service metadata for the service or services you want to query. If not specified, all elements are returned.
services - The service metadata for the service or services you want to query. If not specified, all elements are
returned.public GetApproximateUsageRecordsRequest withServices(String... services)
The service metadata for the service or services you want to query. If not specified, all elements are returned.
NOTE: This method appends the values to the existing list (if any). Use
setServices(java.util.Collection) or withServices(java.util.Collection) if you want to override
the existing values.
services - The service metadata for the service or services you want to query. If not specified, all elements are
returned.public GetApproximateUsageRecordsRequest withServices(Collection<String> services)
The service metadata for the service or services you want to query. If not specified, all elements are returned.
services - The service metadata for the service or services you want to query. If not specified, all elements are
returned.public void setApproximationDimension(String approximationDimension)
The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.
approximationDimension - The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or
hourly granularity with or without resource-level data.ApproximationDimensionpublic String getApproximationDimension()
The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.
ApproximationDimensionpublic GetApproximateUsageRecordsRequest withApproximationDimension(String approximationDimension)
The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.
approximationDimension - The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or
hourly granularity with or without resource-level data.ApproximationDimensionpublic GetApproximateUsageRecordsRequest withApproximationDimension(ApproximationDimension approximationDimension)
The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.
approximationDimension - The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or
hourly granularity with or without resource-level data.ApproximationDimensionpublic String toString()
toString in class ObjectObject.toString()public GetApproximateUsageRecordsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()