Package com.oracle.bmc.apigateway.model
Class ExternalRespCache
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apigateway.model.ResponseCacheDetails
-
- com.oracle.bmc.apigateway.model.ExternalRespCache
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class ExternalRespCache extends ResponseCacheDetails
Connection details for an external RESP based cache store for Response Caching.
Note: Objects should always be created or deserialized using theExternalRespCache.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theExternalRespCache.Builder
, which maintain a set of all explicitly set fields calledExternalRespCache.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalRespCache.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.apigateway.model.ResponseCacheDetails
ResponseCacheDetails.Type
-
-
Constructor Summary
Constructors Constructor Description ExternalRespCache(List<ResponseCacheRespServer> servers, String authenticationSecretId, Long authenticationSecretVersionNumber, Boolean isSslEnabled, Boolean isSslVerifyDisabled, Integer connectTimeoutInMs, Integer readTimeoutInMs, Integer sendTimeoutInMs)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalRespCache.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAuthenticationSecretId()
The OCID of the Oracle Vault Service secret resource.Long
getAuthenticationSecretVersionNumber()
The version number of the authentication secret to use.Integer
getConnectTimeoutInMs()
Defines the timeout for establishing a connection with the Response Cache.Boolean
getIsSslEnabled()
Defines if the connection should be over SSL.Boolean
getIsSslVerifyDisabled()
Defines whether or not to uphold SSL verification.Integer
getReadTimeoutInMs()
Defines the timeout for reading data from the Response Cache.Integer
getSendTimeoutInMs()
Defines the timeout for transmitting data to the Response Cache.List<ResponseCacheRespServer>
getServers()
The set of cache store members to connect to.int
hashCode()
ExternalRespCache.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ExternalRespCache
@Deprecated public ExternalRespCache(List<ResponseCacheRespServer> servers, String authenticationSecretId, Long authenticationSecretVersionNumber, Boolean isSslEnabled, Boolean isSslVerifyDisabled, Integer connectTimeoutInMs, Integer readTimeoutInMs, Integer sendTimeoutInMs)
Deprecated.
-
-
Method Detail
-
builder
public static ExternalRespCache.Builder builder()
Create a new builder.
-
toBuilder
public ExternalRespCache.Builder toBuilder()
-
getServers
public List<ResponseCacheRespServer> getServers()
The set of cache store members to connect to.At present only a single server is supported.
- Returns:
- the value
-
getAuthenticationSecretId
public String getAuthenticationSecretId()
The OCID of the Oracle Vault Service secret resource.- Returns:
- the value
-
getAuthenticationSecretVersionNumber
public Long getAuthenticationSecretVersionNumber()
The version number of the authentication secret to use.- Returns:
- the value
-
getIsSslEnabled
public Boolean getIsSslEnabled()
Defines if the connection should be over SSL.- Returns:
- the value
-
getIsSslVerifyDisabled
public Boolean getIsSslVerifyDisabled()
Defines whether or not to uphold SSL verification.- Returns:
- the value
-
getConnectTimeoutInMs
public Integer getConnectTimeoutInMs()
Defines the timeout for establishing a connection with the Response Cache.- Returns:
- the value
-
getReadTimeoutInMs
public Integer getReadTimeoutInMs()
Defines the timeout for reading data from the Response Cache.- Returns:
- the value
-
getSendTimeoutInMs
public Integer getSendTimeoutInMs()
Defines the timeout for transmitting data to the Response Cache.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classResponseCacheDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classResponseCacheDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classResponseCacheDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classResponseCacheDetails
-
-