public static interface GetUsageRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>
Modifier and Type | Method and Description |
---|---|
GetUsageRequest.Builder |
endDate(String endDate)
[Required] 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetUsageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetUsageRequest.Builder |
position(String position)
The current pagination position in the paged result set.
|
GetUsageRequest.Builder |
startDate(String startDate)
[Required] The starting date (e.g., 2016-01-01) of the usage data.
|
GetUsageRequest.Builder |
usagePlanId(String usagePlanId)
[Required] The Id of the usage plan associated with the usage data.
|
build
overrideConfiguration
copy
applyMutation, build
GetUsageRequest.Builder usagePlanId(String usagePlanId)
[Required] The Id of the usage plan associated with the usage data.
usagePlanId
- [Required] 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)
[Required] The starting date (e.g., 2016-01-01) of the usage data.
startDate
- [Required] The starting date (e.g., 2016-01-01) of the usage data.GetUsageRequest.Builder endDate(String endDate)
[Required] The ending date (e.g., 2016-12-31) of the usage data.
endDate
- [Required] 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. The default value is 25 and the maximum value is 500.
limit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.GetUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.