public class MethodSetting extends Object implements Serializable, Cloneable
Specifies the method setting properties.
Constructor and Description |
---|
MethodSetting() |
Modifier and Type | Method and Description |
---|---|
MethodSetting |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCacheDataEncrypted()
Specifies whether the cached responses are encrypted.
|
Integer |
getCacheTtlInSeconds()
Specifies the time to live (TTL) in seconds, for cached responses.
|
Boolean |
getCachingEnabled()
Specifies whether responses should be cached and returned for requests.
|
Boolean |
getDataTraceEnabled()
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs.
|
String |
getLoggingLevel()
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs.
|
Boolean |
getMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
Boolean |
getRequireAuthorizationForCacheControl()
Specifies whether authorization is required for a cache invalidation
request.
|
Integer |
getThrottlingBurstLimit()
Specifies the throttling burst limit.
|
Double |
getThrottlingRateLimit()
Specifies the throttling rate limit.
|
String |
getUnauthorizedCacheControlHeaderStrategy()
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation.
|
int |
hashCode() |
Boolean |
isCacheDataEncrypted()
Specifies whether the cached responses are encrypted.
|
Boolean |
isCachingEnabled()
Specifies whether responses should be cached and returned for requests.
|
Boolean |
isDataTraceEnabled()
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs.
|
Boolean |
isMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
Boolean |
isRequireAuthorizationForCacheControl()
Specifies whether authorization is required for a cache invalidation
request.
|
void |
setCacheDataEncrypted(Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted.
|
void |
setCacheTtlInSeconds(Integer cacheTtlInSeconds)
Specifies the time to live (TTL) in seconds, for cached responses.
|
void |
setCachingEnabled(Boolean cachingEnabled)
Specifies whether responses should be cached and returned for requests.
|
void |
setDataTraceEnabled(Boolean dataTraceEnabled)
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs.
|
void |
setLoggingLevel(String loggingLevel)
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs.
|
void |
setMetricsEnabled(Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
void |
setRequireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation
request.
|
void |
setThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
|
void |
setThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
|
void |
setUnauthorizedCacheControlHeaderStrategy(String unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation.
|
void |
setUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MethodSetting |
withCacheDataEncrypted(Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted.
|
MethodSetting |
withCacheTtlInSeconds(Integer cacheTtlInSeconds)
Specifies the time to live (TTL) in seconds, for cached responses.
|
MethodSetting |
withCachingEnabled(Boolean cachingEnabled)
Specifies whether responses should be cached and returned for requests.
|
MethodSetting |
withDataTraceEnabled(Boolean dataTraceEnabled)
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs.
|
MethodSetting |
withLoggingLevel(String loggingLevel)
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs.
|
MethodSetting |
withMetricsEnabled(Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
MethodSetting |
withRequireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation
request.
|
MethodSetting |
withThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit.
|
MethodSetting |
withThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit.
|
MethodSetting |
withUnauthorizedCacheControlHeaderStrategy(String unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation.
|
MethodSetting |
withUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation.
|
public void setMetricsEnabled(Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
The PATCH path for this setting is
/{method_setting_key}/metrics/enabled
, and the value is a
Boolean.
metricsEnabled
- Specifies whether Amazon CloudWatch metrics are enabled for this
method. The PATCH path for this setting is
/{method_setting_key}/metrics/enabled
, and the value
is a Boolean.public Boolean getMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
The PATCH path for this setting is
/{method_setting_key}/metrics/enabled
, and the value is a
Boolean.
/{method_setting_key}/metrics/enabled
, and the value
is a Boolean.public MethodSetting withMetricsEnabled(Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
The PATCH path for this setting is
/{method_setting_key}/metrics/enabled
, and the value is a
Boolean.
metricsEnabled
- Specifies whether Amazon CloudWatch metrics are enabled for this
method. The PATCH path for this setting is
/{method_setting_key}/metrics/enabled
, and the value
is a Boolean.public Boolean isMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
The PATCH path for this setting is
/{method_setting_key}/metrics/enabled
, and the value is a
Boolean.
/{method_setting_key}/metrics/enabled
, and the value
is a Boolean.public void setLoggingLevel(String loggingLevel)
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting
is /{method_setting_key}/logging/loglevel
, and the available
levels are OFF
, ERROR
, and INFO
.
loggingLevel
- Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs. The PATCH path for this
setting is /{method_setting_key}/logging/loglevel
,
and the available levels are OFF
, ERROR
,
and INFO
.public String getLoggingLevel()
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting
is /{method_setting_key}/logging/loglevel
, and the available
levels are OFF
, ERROR
, and INFO
.
/{method_setting_key}/logging/loglevel
, and the
available levels are OFF
, ERROR
, and
INFO
.public MethodSetting withLoggingLevel(String loggingLevel)
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting
is /{method_setting_key}/logging/loglevel
, and the available
levels are OFF
, ERROR
, and INFO
.
loggingLevel
- Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs. The PATCH path for this
setting is /{method_setting_key}/logging/loglevel
,
and the available levels are OFF
, ERROR
,
and INFO
.public void setDataTraceEnabled(Boolean dataTraceEnabled)
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH
path for this setting is
/{method_setting_key}/logging/dataTrace
, and the value is a
Boolean.
dataTraceEnabled
- Specifies the whether data trace logging is enabled for this
method, which effects the log entries pushed to Amazon CloudWatch
Logs. The PATCH path for this setting is
/{method_setting_key}/logging/dataTrace
, and the
value is a Boolean.public Boolean getDataTraceEnabled()
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH
path for this setting is
/{method_setting_key}/logging/dataTrace
, and the value is a
Boolean.
/{method_setting_key}/logging/dataTrace
, and the
value is a Boolean.public MethodSetting withDataTraceEnabled(Boolean dataTraceEnabled)
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH
path for this setting is
/{method_setting_key}/logging/dataTrace
, and the value is a
Boolean.
dataTraceEnabled
- Specifies the whether data trace logging is enabled for this
method, which effects the log entries pushed to Amazon CloudWatch
Logs. The PATCH path for this setting is
/{method_setting_key}/logging/dataTrace
, and the
value is a Boolean.public Boolean isDataTraceEnabled()
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH
path for this setting is
/{method_setting_key}/logging/dataTrace
, and the value is a
Boolean.
/{method_setting_key}/logging/dataTrace
, and the
value is a Boolean.public void setThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit. The PATCH path for this setting is
/{method_setting_key}/throttling/burstLimit
, and the value
is an integer.
throttlingBurstLimit
- Specifies the throttling burst limit. The PATCH path for this
setting is
/{method_setting_key}/throttling/burstLimit
, and the
value is an integer.public Integer getThrottlingBurstLimit()
Specifies the throttling burst limit. The PATCH path for this setting is
/{method_setting_key}/throttling/burstLimit
, and the value
is an integer.
/{method_setting_key}/throttling/burstLimit
, and the
value is an integer.public MethodSetting withThrottlingBurstLimit(Integer throttlingBurstLimit)
Specifies the throttling burst limit. The PATCH path for this setting is
/{method_setting_key}/throttling/burstLimit
, and the value
is an integer.
throttlingBurstLimit
- Specifies the throttling burst limit. The PATCH path for this
setting is
/{method_setting_key}/throttling/burstLimit
, and the
value is an integer.public void setThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit. The PATCH path for this setting is
/{method_setting_key}/throttling/rateLimit
, and the value is
a double.
throttlingRateLimit
- Specifies the throttling rate limit. The PATCH path for this
setting is /{method_setting_key}/throttling/rateLimit
, and the value is a double.public Double getThrottlingRateLimit()
Specifies the throttling rate limit. The PATCH path for this setting is
/{method_setting_key}/throttling/rateLimit
, and the value is
a double.
/{method_setting_key}/throttling/rateLimit
, and the
value is a double.public MethodSetting withThrottlingRateLimit(Double throttlingRateLimit)
Specifies the throttling rate limit. The PATCH path for this setting is
/{method_setting_key}/throttling/rateLimit
, and the value is
a double.
throttlingRateLimit
- Specifies the throttling rate limit. The PATCH path for this
setting is /{method_setting_key}/throttling/rateLimit
, and the value is a double.public void setCachingEnabled(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.
The PATCH path for this setting is
/{method_setting_key}/caching/enabled
, and the value is a
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. The PATCH path for this setting is
/{method_setting_key}/caching/enabled
, and the value
is a Boolean.public Boolean getCachingEnabled()
Specifies whether responses should be cached and returned for requests. A
cache cluster must be enabled on the stage for responses to be cached.
The PATCH path for this setting is
/{method_setting_key}/caching/enabled
, and the value is a
Boolean.
/{method_setting_key}/caching/enabled
, and the value
is a Boolean.public MethodSetting withCachingEnabled(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.
The PATCH path for this setting is
/{method_setting_key}/caching/enabled
, and the value is a
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. The PATCH path for this setting is
/{method_setting_key}/caching/enabled
, and the value
is a Boolean.public Boolean isCachingEnabled()
Specifies whether responses should be cached and returned for requests. A
cache cluster must be enabled on the stage for responses to be cached.
The PATCH path for this setting is
/{method_setting_key}/caching/enabled
, and the value is a
Boolean.
/{method_setting_key}/caching/enabled
, and the value
is a Boolean.public void setCacheTtlInSeconds(Integer cacheTtlInSeconds)
Specifies the time to live (TTL) in seconds, for cached responses. The
higher a the TTL, the longer the response will be cached. The PATCH path
for this setting is
/{method_setting_key}/caching/ttlInSeconds
, and the value is
an integer.
cacheTtlInSeconds
- Specifies the time to live (TTL) in seconds, for cached responses.
The higher a the TTL, the longer the response will be cached. The
PATCH path for this setting is
/{method_setting_key}/caching/ttlInSeconds
, and the
value is an integer.public Integer getCacheTtlInSeconds()
Specifies the time to live (TTL) in seconds, for cached responses. The
higher a the TTL, the longer the response will be cached. The PATCH path
for this setting is
/{method_setting_key}/caching/ttlInSeconds
, and the value is
an integer.
/{method_setting_key}/caching/ttlInSeconds
, and the
value is an integer.public MethodSetting withCacheTtlInSeconds(Integer cacheTtlInSeconds)
Specifies the time to live (TTL) in seconds, for cached responses. The
higher a the TTL, the longer the response will be cached. The PATCH path
for this setting is
/{method_setting_key}/caching/ttlInSeconds
, and the value is
an integer.
cacheTtlInSeconds
- Specifies the time to live (TTL) in seconds, for cached responses.
The higher a the TTL, the longer the response will be cached. The
PATCH path for this setting is
/{method_setting_key}/caching/ttlInSeconds
, and the
value is an integer.public void setCacheDataEncrypted(Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted. The PATCH path for
this setting is /{method_setting_key}/caching/dataEncrypted
,
and the value is a Boolean.
cacheDataEncrypted
- Specifies whether the cached responses are encrypted. The PATCH
path for this setting is
/{method_setting_key}/caching/dataEncrypted
, and the
value is a Boolean.public Boolean getCacheDataEncrypted()
Specifies whether the cached responses are encrypted. The PATCH path for
this setting is /{method_setting_key}/caching/dataEncrypted
,
and the value is a Boolean.
/{method_setting_key}/caching/dataEncrypted
, and the
value is a Boolean.public MethodSetting withCacheDataEncrypted(Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted. The PATCH path for
this setting is /{method_setting_key}/caching/dataEncrypted
,
and the value is a Boolean.
cacheDataEncrypted
- Specifies whether the cached responses are encrypted. The PATCH
path for this setting is
/{method_setting_key}/caching/dataEncrypted
, and the
value is a Boolean.public Boolean isCacheDataEncrypted()
Specifies whether the cached responses are encrypted. The PATCH path for
this setting is /{method_setting_key}/caching/dataEncrypted
,
and the value is a Boolean.
/{method_setting_key}/caching/dataEncrypted
, and the
value is a Boolean.public void setRequireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation
request. The PATCH path for this setting is
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.
requireAuthorizationForCacheControl
- Specifies whether authorization is required for a cache
invalidation request. The PATCH path for this setting is
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.public Boolean getRequireAuthorizationForCacheControl()
Specifies whether authorization is required for a cache invalidation
request. The PATCH path for this setting is
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.public MethodSetting withRequireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation
request. The PATCH path for this setting is
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.
requireAuthorizationForCacheControl
- Specifies whether authorization is required for a cache
invalidation request. The PATCH path for this setting is
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.public Boolean isRequireAuthorizationForCacheControl()
Specifies whether authorization is required for a cache invalidation
request. The PATCH path for this setting is
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.
/{method_setting_key}/caching/requireAuthorizationForCacheControl
, and the value is a Boolean.public void setUnauthorizedCacheControlHeaderStrategy(String unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.
unauthorizedCacheControlHeaderStrategy
- Specifies the strategy on how to handle the unauthorized requests
for cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.UnauthorizedCacheControlHeaderStrategy
public String getUnauthorizedCacheControlHeaderStrategy()
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.UnauthorizedCacheControlHeaderStrategy
public MethodSetting withUnauthorizedCacheControlHeaderStrategy(String unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.
unauthorizedCacheControlHeaderStrategy
- Specifies the strategy on how to handle the unauthorized requests
for cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.UnauthorizedCacheControlHeaderStrategy
public void setUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.
unauthorizedCacheControlHeaderStrategy
- Specifies the strategy on how to handle the unauthorized requests
for cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.UnauthorizedCacheControlHeaderStrategy
public MethodSetting withUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy unauthorizedCacheControlHeaderStrategy)
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.
unauthorizedCacheControlHeaderStrategy
- Specifies the strategy on how to handle the unauthorized requests
for cache invalidation. The PATCH path for this setting is
/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy
, and the available values are FAIL_WITH_403
,
SUCCEED_WITH_RESPONSE_HEADER
,
SUCCEED_WITHOUT_RESPONSE_HEADER
.UnauthorizedCacheControlHeaderStrategy
public String toString()
toString
in class Object
Object.toString()
public MethodSetting clone()
Copyright © 2016. All rights reserved.