public final class BackendBucketCdnPolicy extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BackendBucketCdnPolicy() |
| Modifier and Type | Method and Description |
|---|---|
BackendBucketCdnPolicy |
clone() |
String |
getCacheMode()
Specifies the cache setting for all responses from this backend.
|
Integer |
getClientTtl()
Specifies a separate client (e.g.
|
Integer |
getDefaultTtl()
Specifies the default TTL for cached content served by this origin for responses that do not
have an existing valid TTL (max-age or s-max-age).
|
Integer |
getMaxTtl()
Specifies the maximum allowed TTL for cached content served by this origin.
|
Long |
getSignedUrlCacheMaxAgeSec()
Maximum number of seconds the response to a signed URL request will be considered fresh.
|
List<String> |
getSignedUrlKeyNames()
[Output Only] Names of the keys for signing request URLs.
|
BackendBucketCdnPolicy |
set(String fieldName,
Object value) |
BackendBucketCdnPolicy |
setCacheMode(String cacheMode)
Specifies the cache setting for all responses from this backend.
|
BackendBucketCdnPolicy |
setClientTtl(Integer clientTtl)
Specifies a separate client (e.g.
|
BackendBucketCdnPolicy |
setDefaultTtl(Integer defaultTtl)
Specifies the default TTL for cached content served by this origin for responses that do not
have an existing valid TTL (max-age or s-max-age).
|
BackendBucketCdnPolicy |
setMaxTtl(Integer maxTtl)
Specifies the maximum allowed TTL for cached content served by this origin.
|
BackendBucketCdnPolicy |
setSignedUrlCacheMaxAgeSec(Long signedUrlCacheMaxAgeSec)
Maximum number of seconds the response to a signed URL request will be considered fresh.
|
BackendBucketCdnPolicy |
setSignedUrlKeyNames(List<String> signedUrlKeyNames)
[Output Only] Names of the keys for signing request URLs.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCacheMode()
null for nonepublic BackendBucketCdnPolicy setCacheMode(String cacheMode)
cacheMode - cacheMode or null for nonepublic Integer getClientTtl()
null for nonepublic BackendBucketCdnPolicy setClientTtl(Integer clientTtl)
clientTtl - clientTtl or null for nonepublic Integer getDefaultTtl()
null for nonepublic BackendBucketCdnPolicy setDefaultTtl(Integer defaultTtl)
defaultTtl - defaultTtl or null for nonepublic Integer getMaxTtl()
null for nonepublic BackendBucketCdnPolicy setMaxTtl(Integer maxTtl)
maxTtl - maxTtl or null for nonepublic Long getSignedUrlCacheMaxAgeSec()
null for nonepublic BackendBucketCdnPolicy setSignedUrlCacheMaxAgeSec(Long signedUrlCacheMaxAgeSec)
signedUrlCacheMaxAgeSec - signedUrlCacheMaxAgeSec or null for nonepublic List<String> getSignedUrlKeyNames()
null for nonepublic BackendBucketCdnPolicy setSignedUrlKeyNames(List<String> signedUrlKeyNames)
signedUrlKeyNames - signedUrlKeyNames or null for nonepublic BackendBucketCdnPolicy set(String fieldName, Object value)
set in class GenericJsonpublic BackendBucketCdnPolicy clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.