public static interface MethodSetting.Builder extends SdkPojo, CopyableBuilder<MethodSetting.Builder,MethodSetting>
| Modifier and Type | Method and Description |
|---|---|
MethodSetting.Builder |
cacheDataEncrypted(Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted.
|
MethodSetting.Builder |
cacheTtlInSeconds(Integer cacheTtlInSeconds)
Specifies the time to live (TTL), in seconds, for cached responses.
|
MethodSetting.Builder |
cachingEnabled(Boolean cachingEnabled)
Specifies whether responses should be cached and returned for requests.
|
MethodSetting.Builder |
dataTraceEnabled(Boolean dataTraceEnabled)
Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to
Amazon CloudWatch Logs.
|
MethodSetting.Builder |
loggingLevel(String loggingLevel)
Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs.
|
MethodSetting.Builder |
metricsEnabled(Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
MethodSetting.Builder |
requireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation request.
|
MethodSetting.Builder |
throttlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
|
MethodSetting.Builder |
throttlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
|
MethodSetting.Builder |
unauthorizedCacheControlHeaderStrategy(String unauthorizedCacheControlHeaderStrategy)
Specifies how to handle unauthorized requests for cache invalidation.
|
MethodSetting.Builder |
unauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy unauthorizedCacheControlHeaderStrategy)
Specifies how to handle unauthorized requests for cache invalidation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMethodSetting.Builder metricsEnabled(Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
metricsEnabled - Specifies whether Amazon CloudWatch metrics are enabled for this method.MethodSetting.Builder loggingLevel(String loggingLevel)
Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs.
Valid values are OFF, ERROR, and INFO. Choose ERROR to
write only error-level entries to CloudWatch Logs, or choose INFO to include all
ERROR events as well as extra informational events.
loggingLevel - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch
Logs. Valid values are OFF, ERROR, and INFO. Choose
ERROR to write only error-level entries to CloudWatch Logs, or choose INFO
to include all ERROR events as well as extra informational events.MethodSetting.Builder dataTraceEnabled(Boolean dataTraceEnabled)
Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs.
dataTraceEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed
to Amazon CloudWatch Logs.MethodSetting.Builder throttlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
throttlingBurstLimit - Specifies the throttling burst limit.MethodSetting.Builder throttlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
throttlingRateLimit - Specifies the throttling rate limit.MethodSetting.Builder cachingEnabled(Boolean cachingEnabled)
Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
cachingEnabled - Specifies whether responses should be cached and returned for requests. A cache cluster must be
enabled on the stage for responses to be cached.MethodSetting.Builder cacheTtlInSeconds(Integer cacheTtlInSeconds)
Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.
cacheTtlInSeconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the
response will be cached.MethodSetting.Builder cacheDataEncrypted(Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted.
cacheDataEncrypted - Specifies whether the cached responses are encrypted.MethodSetting.Builder requireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation request.
requireAuthorizationForCacheControl - Specifies whether authorization is required for a cache invalidation request.MethodSetting.Builder unauthorizedCacheControlHeaderStrategy(String unauthorizedCacheControlHeaderStrategy)
Specifies how to handle unauthorized requests for cache invalidation.
unauthorizedCacheControlHeaderStrategy - Specifies how to handle unauthorized requests for cache invalidation.UnauthorizedCacheControlHeaderStrategy,
UnauthorizedCacheControlHeaderStrategyMethodSetting.Builder unauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy unauthorizedCacheControlHeaderStrategy)
Specifies how to handle unauthorized requests for cache invalidation.
unauthorizedCacheControlHeaderStrategy - Specifies how to handle unauthorized requests for cache invalidation.UnauthorizedCacheControlHeaderStrategy,
UnauthorizedCacheControlHeaderStrategyCopyright © 2023. All rights reserved.