Interface GetUsageResponse.Builder
-
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetUsageResponse.Builder,GetUsageResponse>,SdkBuilder<GetUsageResponse.Builder,GetUsageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetUsageResponse
public static interface GetUsageResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetUsageResponse.Builder,GetUsageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetUsageResponse.BuilderendDate(String endDate)The ending date of the usage data.GetUsageResponse.Builderitems(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.GetUsageResponse.Builderposition(String position)Sets the value of the Position property for this object.GetUsageResponse.BuilderstartDate(String startDate)The starting date of the usage data.GetUsageResponse.BuilderusagePlanId(String usagePlanId)The plan Id associated with this usage data.-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
usagePlanId
GetUsageResponse.Builder usagePlanId(String usagePlanId)
The plan Id associated with this usage data.
- Parameters:
usagePlanId- The plan Id associated with this usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
GetUsageResponse.Builder startDate(String startDate)
The starting date of the usage data.
- Parameters:
startDate- The starting date of the usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
GetUsageResponse.Builder endDate(String endDate)
The ending date of the usage data.
- Parameters:
endDate- The ending date of the usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
GetUsageResponse.Builder position(String position)
Sets the value of the Position property for this object.- Parameters:
position- The new value for the Position property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
GetUsageResponse.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].- Parameters:
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].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-