Cloneable
, ReadLimitInfo
, ToCopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>
@Generated("software.amazon.awssdk:codegen") public class GetUsageRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>
The GET request to get the usage data of a usage plan in a specified time interval.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetUsageRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static GetUsageRequest.Builder |
builder() |
|
String |
endDate() |
The ending date (e.g., 2016-12-31) of the usage data.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
keyId() |
The Id of the API key associated with the resultant usage data.
|
Integer |
limit() |
The maximum number of returned results per page.
|
String |
position() |
The current pagination position in the paged result set.
|
static Class<? extends GetUsageRequest.Builder> |
serializableBuilderClass() |
|
String |
startDate() |
The starting date (e.g., 2016-01-01) of the usage data.
|
GetUsageRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
usagePlanId() |
The Id of the usage plan associated with the usage data.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String usagePlanId()
The Id of the usage plan associated with the usage data.
public String keyId()
The Id of the API key associated with the resultant usage data.
public String startDate()
The starting date (e.g., 2016-01-01) of the usage data.
public String endDate()
The ending date (e.g., 2016-12-31) of the usage data.
public String position()
The current pagination position in the paged result set.
public Integer limit()
The maximum number of returned results per page.
public GetUsageRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>
public static GetUsageRequest.Builder builder()
public static Class<? extends GetUsageRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.