Class MethodSettingsSettings
- java.lang.Object
-
- com.pulumi.aws.apigateway.outputs.MethodSettingsSettings
-
public final class MethodSettingsSettings extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMethodSettingsSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MethodSettingsSettings.Builderbuilder()static MethodSettingsSettings.Builderbuilder(MethodSettingsSettings defaults)java.util.Optional<java.lang.Boolean>cacheDataEncrypted()java.util.Optional<java.lang.Integer>cacheTtlInSeconds()java.util.Optional<java.lang.Boolean>cachingEnabled()java.util.Optional<java.lang.Boolean>dataTraceEnabled()java.util.Optional<java.lang.String>loggingLevel()java.util.Optional<java.lang.Boolean>metricsEnabled()java.util.Optional<java.lang.Boolean>requireAuthorizationForCacheControl()java.util.Optional<java.lang.Integer>throttlingBurstLimit()java.util.Optional<java.lang.Double>throttlingRateLimit()java.util.Optional<java.lang.String>unauthorizedCacheControlHeaderStrategy()
-
-
-
Method Detail
-
cacheDataEncrypted
public java.util.Optional<java.lang.Boolean> cacheDataEncrypted()
- Returns:
- Whether the cached responses are encrypted.
-
cacheTtlInSeconds
public java.util.Optional<java.lang.Integer> cacheTtlInSeconds()
- Returns:
- Time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
-
cachingEnabled
public java.util.Optional<java.lang.Boolean> cachingEnabled()
- Returns:
- Whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
-
dataTraceEnabled
public java.util.Optional<java.lang.Boolean> dataTraceEnabled()
- Returns:
- Whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
-
loggingLevel
public java.util.Optional<java.lang.String> loggingLevel()
- Returns:
- Logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The available levels are `OFF`, `ERROR`, and `INFO`.
-
metricsEnabled
public java.util.Optional<java.lang.Boolean> metricsEnabled()
- Returns:
- Whether Amazon CloudWatch metrics are enabled for this method.
-
requireAuthorizationForCacheControl
public java.util.Optional<java.lang.Boolean> requireAuthorizationForCacheControl()
- Returns:
- Whether authorization is required for a cache invalidation request.
-
throttlingBurstLimit
public java.util.Optional<java.lang.Integer> throttlingBurstLimit()
- Returns:
- Throttling burst limit. Default: `-1` (throttling disabled).
-
throttlingRateLimit
public java.util.Optional<java.lang.Double> throttlingRateLimit()
- Returns:
- Throttling rate limit. Default: `-1` (throttling disabled).
-
unauthorizedCacheControlHeaderStrategy
public java.util.Optional<java.lang.String> unauthorizedCacheControlHeaderStrategy()
- Returns:
- How to handle unauthorized requests for cache invalidation. The available values are `FAIL_WITH_403`, `SUCCEED_WITH_RESPONSE_HEADER`, `SUCCEED_WITHOUT_RESPONSE_HEADER`.
-
builder
public static MethodSettingsSettings.Builder builder()
-
builder
public static MethodSettingsSettings.Builder builder(MethodSettingsSettings defaults)
-
-