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 ResponseCacheDetailsConnection 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 classExternalRespCache.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAuthenticationSecretId()The OCID of the Oracle Vault Service secret resource.LonggetAuthenticationSecretVersionNumber()The version number of the authentication secret to use.IntegergetConnectTimeoutInMs()Defines the timeout for establishing a connection with the Response Cache.BooleangetIsSslEnabled()Defines if the connection should be over SSL.BooleangetIsSslVerifyDisabled()Defines whether or not to uphold SSL verification.IntegergetReadTimeoutInMs()Defines the timeout for reading data from the Response Cache.IntegergetSendTimeoutInMs()Defines the timeout for transmitting data to the Response Cache.List<ResponseCacheRespServer>getServers()The set of cache store members to connect to.inthashCode()ExternalRespCache.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin classResponseCacheDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classResponseCacheDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classResponseCacheDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResponseCacheDetails
-
-