Interface CreateUsagePlanRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>,SdkBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateUsagePlanRequest
public static interface CreateUsagePlanRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
-
-
-
Method Detail
-
name
CreateUsagePlanRequest.Builder name(String name)
The name of the usage plan.
- Parameters:
name- The name of the usage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateUsagePlanRequest.Builder description(String description)
The description of the usage plan.
- Parameters:
description- The description of the usage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiStages
CreateUsagePlanRequest.Builder apiStages(Collection<ApiStage> apiStages)
The associated API stages of the usage plan.
- Parameters:
apiStages- The associated API stages of the usage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiStages
CreateUsagePlanRequest.Builder apiStages(ApiStage... apiStages)
The associated API stages of the usage plan.
- Parameters:
apiStages- The associated API stages of the usage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiStages
CreateUsagePlanRequest.Builder apiStages(Consumer<ApiStage.Builder>... apiStages)
The associated API stages of the usage plan.
This is a convenience method that creates an instance of theApiStage.Builderavoiding the need to create one manually viaApiStage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#apiStages(List.) - Parameters:
apiStages- a consumer that will call methods onApiStage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#apiStages(java.util.Collection)
-
throttle
CreateUsagePlanRequest.Builder throttle(ThrottleSettings throttle)
The throttling limits of the usage plan.
- Parameters:
throttle- The throttling limits of the usage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throttle
default CreateUsagePlanRequest.Builder throttle(Consumer<ThrottleSettings.Builder> throttle)
The throttling limits of the usage plan.
This is a convenience method that creates an instance of theThrottleSettings.Builderavoiding the need to create one manually viaThrottleSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothrottle(ThrottleSettings).- Parameters:
throttle- a consumer that will call methods onThrottleSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
throttle(ThrottleSettings)
-
quota
CreateUsagePlanRequest.Builder quota(QuotaSettings quota)
The quota of the usage plan.
- Parameters:
quota- The quota of the usage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quota
default CreateUsagePlanRequest.Builder quota(Consumer<QuotaSettings.Builder> quota)
The quota of the usage plan.
This is a convenience method that creates an instance of theQuotaSettings.Builderavoiding the need to create one manually viaQuotaSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquota(QuotaSettings).- Parameters:
quota- a consumer that will call methods onQuotaSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
quota(QuotaSettings)
-
tags
CreateUsagePlanRequest.Builder tags(Map<String,String> tags)
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with
aws:. The tag value can be up to 256 characters.- Parameters:
tags- The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start withaws:. The tag value can be up to 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateUsagePlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUsagePlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-