Package com.oracle.bmc.apigateway.model
Class ExternalRespCache.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.ExternalRespCache.Builder
-
- Enclosing class:
- ExternalRespCache
public static class ExternalRespCache.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalRespCache.BuilderauthenticationSecretId(String authenticationSecretId)The OCID of the Oracle Vault Service secret resource.ExternalRespCache.BuilderauthenticationSecretVersionNumber(Long authenticationSecretVersionNumber)The version number of the authentication secret to use.ExternalRespCachebuild()ExternalRespCache.BuilderconnectTimeoutInMs(Integer connectTimeoutInMs)Defines the timeout for establishing a connection with the Response Cache.ExternalRespCache.Buildercopy(ExternalRespCache model)ExternalRespCache.BuilderisSslEnabled(Boolean isSslEnabled)Defines if the connection should be over SSL.ExternalRespCache.BuilderisSslVerifyDisabled(Boolean isSslVerifyDisabled)Defines whether or not to uphold SSL verification.ExternalRespCache.BuilderreadTimeoutInMs(Integer readTimeoutInMs)Defines the timeout for reading data from the Response Cache.ExternalRespCache.BuildersendTimeoutInMs(Integer sendTimeoutInMs)Defines the timeout for transmitting data to the Response Cache.ExternalRespCache.Builderservers(List<ResponseCacheRespServer> servers)The set of cache store members to connect to.
-
-
-
Method Detail
-
servers
public ExternalRespCache.Builder servers(List<ResponseCacheRespServer> servers)
The set of cache store members to connect to.At present only a single server is supported.
- Parameters:
servers- the value to set- Returns:
- this builder
-
authenticationSecretId
public ExternalRespCache.Builder authenticationSecretId(String authenticationSecretId)
The OCID of the Oracle Vault Service secret resource.- Parameters:
authenticationSecretId- the value to set- Returns:
- this builder
-
authenticationSecretVersionNumber
public ExternalRespCache.Builder authenticationSecretVersionNumber(Long authenticationSecretVersionNumber)
The version number of the authentication secret to use.- Parameters:
authenticationSecretVersionNumber- the value to set- Returns:
- this builder
-
isSslEnabled
public ExternalRespCache.Builder isSslEnabled(Boolean isSslEnabled)
Defines if the connection should be over SSL.- Parameters:
isSslEnabled- the value to set- Returns:
- this builder
-
isSslVerifyDisabled
public ExternalRespCache.Builder isSslVerifyDisabled(Boolean isSslVerifyDisabled)
Defines whether or not to uphold SSL verification.- Parameters:
isSslVerifyDisabled- the value to set- Returns:
- this builder
-
connectTimeoutInMs
public ExternalRespCache.Builder connectTimeoutInMs(Integer connectTimeoutInMs)
Defines the timeout for establishing a connection with the Response Cache.- Parameters:
connectTimeoutInMs- the value to set- Returns:
- this builder
-
readTimeoutInMs
public ExternalRespCache.Builder readTimeoutInMs(Integer readTimeoutInMs)
Defines the timeout for reading data from the Response Cache.- Parameters:
readTimeoutInMs- the value to set- Returns:
- this builder
-
sendTimeoutInMs
public ExternalRespCache.Builder sendTimeoutInMs(Integer sendTimeoutInMs)
Defines the timeout for transmitting data to the Response Cache.- Parameters:
sendTimeoutInMs- the value to set- Returns:
- this builder
-
build
public ExternalRespCache build()
-
copy
public ExternalRespCache.Builder copy(ExternalRespCache model)
-
-