Class ApiGatewayMethodSettingsSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.api_gateway_method_settings.ApiGatewayMethodSettingsSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiGatewayMethodSettingsSettings>
- Enclosing interface:
- ApiGatewayMethodSettingsSettings
@Stability(Stable) public static final class ApiGatewayMethodSettingsSettings.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayMethodSettingsSettings>
A builder forApiGatewayMethodSettingsSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cacheDataEncrypted
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder cacheDataEncrypted(Boolean cacheDataEncrypted)
Sets the value ofApiGatewayMethodSettingsSettings.getCacheDataEncrypted()- Parameters:
cacheDataEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#cache_data_encrypted ApiGatewayMethodSettings#cache_data_encrypted}.- Returns:
this
-
cacheDataEncrypted
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder cacheDataEncrypted(com.hashicorp.cdktf.IResolvable cacheDataEncrypted)
Sets the value ofApiGatewayMethodSettingsSettings.getCacheDataEncrypted()- Parameters:
cacheDataEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#cache_data_encrypted ApiGatewayMethodSettings#cache_data_encrypted}.- Returns:
this
-
cacheTtlInSeconds
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder cacheTtlInSeconds(Number cacheTtlInSeconds)
Sets the value ofApiGatewayMethodSettingsSettings.getCacheTtlInSeconds()- Parameters:
cacheTtlInSeconds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#cache_ttl_in_seconds ApiGatewayMethodSettings#cache_ttl_in_seconds}.- Returns:
this
-
cachingEnabled
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder cachingEnabled(Boolean cachingEnabled)
Sets the value ofApiGatewayMethodSettingsSettings.getCachingEnabled()- Parameters:
cachingEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#caching_enabled ApiGatewayMethodSettings#caching_enabled}.- Returns:
this
-
cachingEnabled
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder cachingEnabled(com.hashicorp.cdktf.IResolvable cachingEnabled)
Sets the value ofApiGatewayMethodSettingsSettings.getCachingEnabled()- Parameters:
cachingEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#caching_enabled ApiGatewayMethodSettings#caching_enabled}.- Returns:
this
-
dataTraceEnabled
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder dataTraceEnabled(Boolean dataTraceEnabled)
Sets the value ofApiGatewayMethodSettingsSettings.getDataTraceEnabled()- Parameters:
dataTraceEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#data_trace_enabled ApiGatewayMethodSettings#data_trace_enabled}.- Returns:
this
-
dataTraceEnabled
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder dataTraceEnabled(com.hashicorp.cdktf.IResolvable dataTraceEnabled)
Sets the value ofApiGatewayMethodSettingsSettings.getDataTraceEnabled()- Parameters:
dataTraceEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#data_trace_enabled ApiGatewayMethodSettings#data_trace_enabled}.- Returns:
this
-
loggingLevel
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder loggingLevel(String loggingLevel)
Sets the value ofApiGatewayMethodSettingsSettings.getLoggingLevel()- Parameters:
loggingLevel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#logging_level ApiGatewayMethodSettings#logging_level}.- Returns:
this
-
metricsEnabled
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder metricsEnabled(Boolean metricsEnabled)
Sets the value ofApiGatewayMethodSettingsSettings.getMetricsEnabled()- Parameters:
metricsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#metrics_enabled ApiGatewayMethodSettings#metrics_enabled}.- Returns:
this
-
metricsEnabled
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder metricsEnabled(com.hashicorp.cdktf.IResolvable metricsEnabled)
Sets the value ofApiGatewayMethodSettingsSettings.getMetricsEnabled()- Parameters:
metricsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#metrics_enabled ApiGatewayMethodSettings#metrics_enabled}.- Returns:
this
-
requireAuthorizationForCacheControl
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder requireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl)
- Parameters:
requireAuthorizationForCacheControl- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#require_authorization_for_cache_control ApiGatewayMethodSettings#require_authorization_for_cache_control}.- Returns:
this
-
requireAuthorizationForCacheControl
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder requireAuthorizationForCacheControl(com.hashicorp.cdktf.IResolvable requireAuthorizationForCacheControl)
- Parameters:
requireAuthorizationForCacheControl- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#require_authorization_for_cache_control ApiGatewayMethodSettings#require_authorization_for_cache_control}.- Returns:
this
-
throttlingBurstLimit
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder throttlingBurstLimit(Number throttlingBurstLimit)
Sets the value ofApiGatewayMethodSettingsSettings.getThrottlingBurstLimit()- Parameters:
throttlingBurstLimit- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#throttling_burst_limit ApiGatewayMethodSettings#throttling_burst_limit}.- Returns:
this
-
throttlingRateLimit
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder throttlingRateLimit(Number throttlingRateLimit)
Sets the value ofApiGatewayMethodSettingsSettings.getThrottlingRateLimit()- Parameters:
throttlingRateLimit- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#throttling_rate_limit ApiGatewayMethodSettings#throttling_rate_limit}.- Returns:
this
-
unauthorizedCacheControlHeaderStrategy
@Stability(Stable) public ApiGatewayMethodSettingsSettings.Builder unauthorizedCacheControlHeaderStrategy(String unauthorizedCacheControlHeaderStrategy)
- Parameters:
unauthorizedCacheControlHeaderStrategy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#unauthorized_cache_control_header_strategy ApiGatewayMethodSettings#unauthorized_cache_control_header_strategy}.- Returns:
this
-
build
@Stability(Stable) public ApiGatewayMethodSettingsSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApiGatewayMethodSettingsSettings>- Returns:
- a new instance of
ApiGatewayMethodSettingsSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-