CopyableBuilder<UpdateUsageResponse.Builder,UpdateUsageResponse>
, SdkBuilder<UpdateUsageResponse.Builder,UpdateUsageResponse>
public static interface UpdateUsageResponse.Builder extends CopyableBuilder<UpdateUsageResponse.Builder,UpdateUsageResponse>
Modifier and Type | Method | Description |
---|---|---|
UpdateUsageResponse.Builder |
endDate(String endDate) |
The ending date of the usage data.
|
UpdateUsageResponse.Builder |
items(Map<String,? extends Collection<? extends Collection<Long>>> items) |
The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the
API keys in a usage plan.
|
UpdateUsageResponse.Builder |
position(String position) |
|
UpdateUsageResponse.Builder |
startDate(String startDate) |
The starting date of the usage data.
|
UpdateUsageResponse.Builder |
usagePlanId(String usagePlanId) |
The plan Id associated with this usage data.
|
copy
apply, build
UpdateUsageResponse.Builder usagePlanId(String usagePlanId)
The plan Id associated with this usage data.
usagePlanId
- The plan Id associated with this usage data.UpdateUsageResponse.Builder startDate(String startDate)
The starting date of the usage data.
startDate
- The starting date of the usage data.UpdateUsageResponse.Builder endDate(String endDate)
The ending date of the usage data.
endDate
- The ending date of the usage data.UpdateUsageResponse.Builder position(String position)
position
- UpdateUsageResponse.Builder items(Map<String,? extends Collection<? extends Collection<Long>>> items)
The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the
API keys in a usage plan. For example,
{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
, where {api_key}
stands for an API key value and the daily log entry is of the format
[used quota, remaining quota]
.
items
- The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed
over the API keys in a usage plan. For example,
{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
, where
{api_key}
stands for an API key value and the daily log entry is of the format
[used quota, remaining quota]
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.