Interface GetUsageRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetUsageRequest.Builder,,GetUsageRequest> SdkBuilder<GetUsageRequest.Builder,,GetUsageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetUsageRequest
@Mutable
@NotThreadSafe
public static interface GetUsageRequest.Builder
extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ending date (e.g., 2016-12-31) of the usage data.The Id of the API key associated with the resultant usage data.The maximum number of returned results per page.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The current pagination position in the paged result set.The starting date (e.g., 2016-01-01) of the usage data.usagePlanId(String usagePlanId) The Id of the usage plan associated with the usage data.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
usagePlanId
The Id of the usage plan associated with the usage data.
- Parameters:
usagePlanId- The Id of the usage plan associated with the usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyId
The Id of the API key associated with the resultant usage data.
- Parameters:
keyId- The Id of the API key associated with the resultant usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
The starting date (e.g., 2016-01-01) of the usage data.
- Parameters:
startDate- The starting date (e.g., 2016-01-01) of the usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
The ending date (e.g., 2016-12-31) of the usage data.
- Parameters:
endDate- The ending date (e.g., 2016-12-31) of the usage data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The current pagination position in the paged result set.
- Parameters:
position- The current pagination position in the paged result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
- Parameters:
limit- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-