public static interface GetUsageRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>
Modifier and Type | Method and Description |
---|---|
GetUsageRequest.Builder |
endDate(String endDate)
The ending date (e.g., 2016-12-31) of the usage data.
|
GetUsageRequest.Builder |
keyId(String keyId)
The Id of the API key associated with the resultant usage data.
|
GetUsageRequest.Builder |
limit(Integer limit)
The maximum number of returned results per page.
|
GetUsageRequest.Builder |
position(String position)
The current pagination position in the paged result set.
|
GetUsageRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GetUsageRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
GetUsageRequest.Builder |
startDate(String startDate)
The starting date (e.g., 2016-01-01) of the usage data.
|
GetUsageRequest.Builder |
usagePlanId(String usagePlanId)
The Id of the usage plan associated with the usage data.
|
build
requestOverrideConfig
copy
apply, build
GetUsageRequest.Builder usagePlanId(String usagePlanId)
The Id of the usage plan associated with the usage data.
usagePlanId
- The Id of the usage plan associated with the usage data.GetUsageRequest.Builder keyId(String keyId)
The Id of the API key associated with the resultant usage data.
keyId
- The Id of the API key associated with the resultant usage data.GetUsageRequest.Builder startDate(String startDate)
The starting date (e.g., 2016-01-01) of the usage data.
startDate
- The starting date (e.g., 2016-01-01) of the usage data.GetUsageRequest.Builder endDate(String endDate)
The ending date (e.g., 2016-12-31) of the usage data.
endDate
- The ending date (e.g., 2016-12-31) of the usage data.GetUsageRequest.Builder position(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.GetUsageRequest.Builder limit(Integer limit)
The maximum number of returned results per page.
limit
- The maximum number of returned results per page.GetUsageRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.GetUsageRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.