public class MethodSetting
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies the method setting properties.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
cacheDataEncrypted
Specifies whether the cached responses are encrypted.
|
private java.lang.Integer |
cacheTtlInSeconds
Specifies the time to live (TTL) in seconds, for cached responses.
|
private java.lang.Boolean |
cachingEnabled
Specifies whether responses should be cached and returned for requests.
|
private java.lang.Boolean |
dataTraceEnabled
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs.
|
private java.lang.String |
loggingLevel
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs.
|
private java.lang.Boolean |
metricsEnabled
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
private java.lang.Boolean |
requireAuthorizationForCacheControl
Specifies whether authorization is required for a cache invalidation
request.
|
private java.lang.Integer |
throttlingBurstLimit
Specifies the throttling burst limit.
|
private java.lang.Double |
throttlingRateLimit
Specifies the throttling rate limit.
|
private java.lang.String |
unauthorizedCacheControlHeaderStrategy
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation.
|
Constructor and Description |
---|
MethodSetting() |
Modifier and Type | Method and Description |
---|---|
MethodSetting |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCacheDataEncrypted()
Specifies whether the cached responses are encrypted.
|
java.lang.Integer |
getCacheTtlInSeconds()
Specifies the time to live (TTL) in seconds, for cached responses.
|
java.lang.Boolean |
getCachingEnabled()
Specifies whether responses should be cached and returned for requests.
|
java.lang.Boolean |
getDataTraceEnabled()
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs.
|
java.lang.String |
getLoggingLevel()
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs.
|
java.lang.Boolean |
getMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
java.lang.Boolean |
getRequireAuthorizationForCacheControl()
Specifies whether authorization is required for a cache invalidation
request.
|
java.lang.Integer |
getThrottlingBurstLimit()
Specifies the throttling burst limit.
|
java.lang.Double |
getThrottlingRateLimit()
Specifies the throttling rate limit.
|
java.lang.String |
getUnauthorizedCacheControlHeaderStrategy()
Specifies the strategy on how to handle the unauthorized requests for
cache invalidation.
|
int |
hashCode() |
java.lang.Boolean |
isCacheDataEncrypted()
Specifies whether the cached responses are encrypted.
|
java.lang.Boolean |
isCachingEnabled()
Specifies whether responses should be cached and returned for requests.
|
java.lang.Boolean |
isDataTraceEnabled()
Specifies the whether data trace logging is enabled for this method,
which effects the log entries pushed to Amazon CloudWatch Logs.
|
java.lang.Boolean |
isMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
java.lang.Boolean |
isRequireAuthorizationForCacheControl()
Specifies whether authorization is required for a cache invalidation
request.
|
void |
setCacheDataEncrypted(java.lang.Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted.
|
void |
setCacheTtlInSeconds(java.lang.Integer cacheTtlInSeconds)
Specifies the time to live (TTL) in seconds, for cached responses.
|
void |
setCachingEnabled(java.lang.Boolean cachingEnabled)
Specifies whether responses should be cached and returned for requests.
|
void |
setDataTraceEnabled(java.lang.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(java.lang.String loggingLevel)
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs.
|
void |
setMetricsEnabled(java.lang.Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
void |
setRequireAuthorizationForCacheControl(java.lang.Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation
request.
|
void |
setThrottlingBurstLimit(java.lang.Integer throttlingBurstLimit)
Specifies the throttling burst limit.
|
void |
setThrottlingRateLimit(java.lang.Double throttlingRateLimit)
Specifies the throttling rate limit.
|
void |
setUnauthorizedCacheControlHeaderStrategy(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MethodSetting |
withCacheDataEncrypted(java.lang.Boolean cacheDataEncrypted)
Specifies whether the cached responses are encrypted.
|
MethodSetting |
withCacheTtlInSeconds(java.lang.Integer cacheTtlInSeconds)
Specifies the time to live (TTL) in seconds, for cached responses.
|
MethodSetting |
withCachingEnabled(java.lang.Boolean cachingEnabled)
Specifies whether responses should be cached and returned for requests.
|
MethodSetting |
withDataTraceEnabled(java.lang.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(java.lang.String loggingLevel)
Specifies the logging level for this method, which effects the log
entries pushed to Amazon CloudWatch Logs.
|
MethodSetting |
withMetricsEnabled(java.lang.Boolean metricsEnabled)
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
MethodSetting |
withRequireAuthorizationForCacheControl(java.lang.Boolean requireAuthorizationForCacheControl)
Specifies whether authorization is required for a cache invalidation
request.
|
MethodSetting |
withThrottlingBurstLimit(java.lang.Integer throttlingBurstLimit)
Specifies the throttling burst limit.
|
MethodSetting |
withThrottlingRateLimit(java.lang.Double throttlingRateLimit)
Specifies the throttling rate limit.
|
MethodSetting |
withUnauthorizedCacheControlHeaderStrategy(java.lang.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.
|
private java.lang.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.
private java.lang.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
.
private java.lang.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.
private java.lang.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.
private java.lang.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.
private java.lang.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.
private java.lang.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.
private java.lang.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.
private java.lang.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.
private java.lang.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
.
public void setMetricsEnabled(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MethodSetting clone()
clone
in class java.lang.Object