@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 the ExternalRespCache.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 the ExternalRespCache.Builder
, which maintain a
set of all explicitly set fields called ExternalRespCache.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
ExternalRespCache.Builder |
ResponseCacheDetails.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ExternalRespCache(List<ResponseCacheRespServer> servers,
String authenticationSecretId,
Long authenticationSecretVersionNumber,
Boolean isSslEnabled,
Boolean isSslVerifyDisabled,
Integer connectTimeoutInMs,
Integer readTimeoutInMs,
Integer sendTimeoutInMs)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ExternalRespCache(List<ResponseCacheRespServer> servers, String authenticationSecretId, Long authenticationSecretVersionNumber, Boolean isSslEnabled, Boolean isSslVerifyDisabled, Integer connectTimeoutInMs, Integer readTimeoutInMs, Integer sendTimeoutInMs)
public static ExternalRespCache.Builder builder()
Create a new builder.
public ExternalRespCache.Builder toBuilder()
public List<ResponseCacheRespServer> getServers()
The set of cache store members to connect to. At present only a single server is supported.
public String getAuthenticationSecretId()
The OCID of the Oracle Vault Service secret resource.
public Long getAuthenticationSecretVersionNumber()
The version number of the authentication secret to use.
public Boolean getIsSslEnabled()
Defines if the connection should be over SSL.
public Boolean getIsSslVerifyDisabled()
Defines whether or not to uphold SSL verification.
public Integer getConnectTimeoutInMs()
Defines the timeout for establishing a connection with the Response Cache.
public Integer getReadTimeoutInMs()
Defines the timeout for reading data from the Response Cache.
public Integer getSendTimeoutInMs()
Defines the timeout for transmitting data to the Response Cache.
public String toString()
toString
in class ResponseCacheDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ResponseCacheDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ResponseCacheDetails
public int hashCode()
hashCode
in class ResponseCacheDetails
Copyright © 2016–2024. All rights reserved.