@Stability(value=Experimental) public static final class RateLimitedApiKeyProps.Builder extends Object implements software.amazon.jsii.Builder<RateLimitedApiKeyProps>
RateLimitedApiKeyProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder apiStages(List<? extends UsagePlanPerApiStage> apiStages)
RateLimitedApiKeyProps.getApiStages()apiStages - API Stages to be associated with the RateLimitedApiKey.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder quota(QuotaSettings quota)
RateLimitedApiKeyProps.getQuota()quota - Number of requests clients can make in a given time period.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder throttle(ThrottleSettings throttle)
RateLimitedApiKeyProps.getThrottle()throttle - Overall throttle settings for the API.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder customerId(String customerId)
ApiKeyProps.getCustomerId()customerId - An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder description(String description)
ApiKeyProps.getDescription()description - A description of the purpose of the API key.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder enabled(Boolean enabled)
ApiKeyProps.getEnabled()enabled - Indicates whether the API key can be used by clients.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder generateDistinctId(Boolean generateDistinctId)
ApiKeyProps.getGenerateDistinctId()generateDistinctId - Specifies whether the key identifier is distinct from the created API key value.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder resources(List<? extends IRestApi> resources)
ApiKeyProps.getResources()resources - A list of resources this api key is associated with.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder apiKeyName(String apiKeyName)
ApiKeyOptions.getApiKeyName()apiKeyName - A name for the API key.
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the API key name.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder value(String value)
ApiKeyOptions.getValue()value - The value of the API key.
Must be at least 20 characters long.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder defaultCorsPreflightOptions(CorsOptions defaultCorsPreflightOptions)
ResourceOptions.getDefaultCorsPreflightOptions()defaultCorsPreflightOptions - Adds a CORS preflight OPTIONS method to this resource and all child resources.
You can add CORS at the resource-level using addCorsPreflight.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder defaultIntegration(Integration defaultIntegration)
ResourceOptions.getDefaultIntegration()defaultIntegration - An integration to use as a default for all methods created within this API unless an integration is specified.this@Stability(value=Experimental) public RateLimitedApiKeyProps.Builder defaultMethodOptions(MethodOptions defaultMethodOptions)
ResourceOptions.getDefaultMethodOptions()defaultMethodOptions - Method options to use as a default for all methods created within this API unless custom options are specified.this@Stability(value=Experimental) public RateLimitedApiKeyProps build()
build in interface software.amazon.jsii.Builder<RateLimitedApiKeyProps>RateLimitedApiKeyPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.