Package com.oracle.bmc.apigateway.model
Class FixedTTLResponseCacheStorePolicy.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.FixedTTLResponseCacheStorePolicy.Builder
-
- Enclosing class:
- FixedTTLResponseCacheStorePolicy
public static class FixedTTLResponseCacheStorePolicy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FixedTTLResponseCacheStorePolicy
build()
FixedTTLResponseCacheStorePolicy.Builder
copy(FixedTTLResponseCacheStorePolicy model)
FixedTTLResponseCacheStorePolicy.Builder
timeToLiveInSeconds(Integer timeToLiveInSeconds)
Sets the number of seconds for a response from a backend being stored in the Response Cache before it expires.
-
-
-
Method Detail
-
timeToLiveInSeconds
public FixedTTLResponseCacheStorePolicy.Builder timeToLiveInSeconds(Integer timeToLiveInSeconds)
Sets the number of seconds for a response from a backend being stored in the Response Cache before it expires.- Parameters:
timeToLiveInSeconds
- the value to set- Returns:
- this builder
-
build
public FixedTTLResponseCacheStorePolicy build()
-
copy
public FixedTTLResponseCacheStorePolicy.Builder copy(FixedTTLResponseCacheStorePolicy model)
-
-