Package com.google.cloud.redis.v1.spring
Class CloudRedisSpringProperties
java.lang.Object
com.google.cloud.redis.v1.spring.CloudRedisSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.redis.v1.cloud-redis")
public class CloudRedisSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for CloudRedis client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetInstanceAuthStringRetry
(Retry getInstanceAuthStringRetry) void
setGetInstanceRetry
(Retry getInstanceRetry) void
setGetLocationRetry
(Retry getLocationRetry) void
setListInstancesRetry
(Retry listInstancesRetry) void
setListLocationsRetry
(Retry listLocationsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUseRest
(boolean useRest)
-
Constructor Details
-
CloudRedisSpringProperties
public CloudRedisSpringProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getQuotaProjectId
-
setQuotaProjectId
-
getUseRest
public boolean getUseRest() -
setUseRest
public void setUseRest(boolean useRest) -
getExecutorThreadCount
-
setExecutorThreadCount
-
getRetry
-
setRetry
-
getListInstancesRetry
-
setListInstancesRetry
-
getGetInstanceRetry
-
setGetInstanceRetry
-
getGetInstanceAuthStringRetry
-
setGetInstanceAuthStringRetry
-
getListLocationsRetry
-
setListLocationsRetry
-
getGetLocationRetry
-
setGetLocationRetry
-