@Generated(value="software.amazon.awssdk:codegen") public final class GetUsageRequest extends ApiGatewayRequest 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 and Description |
|---|---|
static interface |
GetUsageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetUsageRequest.Builder |
builder() |
String |
endDate()
The ending date (e.g., 2016-12-31) of the usage data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetUsageRequest.Builder> |
serializableBuilderClass() |
String |
startDate()
The starting date (e.g., 2016-01-01) of the usage data.
|
GetUsageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
usagePlanId()
The Id of the usage plan associated with the usage data.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String usagePlanId()
The Id of the usage plan associated with the usage data.
public final String keyId()
The Id of the API key associated with the resultant usage data.
public final String startDate()
The starting date (e.g., 2016-01-01) of the usage data.
public final String endDate()
The ending date (e.g., 2016-12-31) of the usage data.
public final String position()
The current pagination position in the paged result set.
public final Integer limit()
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
public GetUsageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>toBuilder in class ApiGatewayRequestpublic static GetUsageRequest.Builder builder()
public static Class<? extends GetUsageRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.