Class AssuredWorkloadsServiceSpringProperties
java.lang.Object
com.google.cloud.assuredworkloads.v1.spring.AssuredWorkloadsServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.assuredworkloads.v1.assured-workloads-service")
public class AssuredWorkloadsServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for AssuredWorkloadsService client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setAcknowledgeViolationRetry
(Retry acknowledgeViolationRetry) void
setDeleteWorkloadRetry
(Retry deleteWorkloadRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetViolationRetry
(Retry getViolationRetry) void
setGetWorkloadRetry
(Retry getWorkloadRetry) void
setListViolationsRetry
(Retry listViolationsRetry) void
setListWorkloadsRetry
(Retry listWorkloadsRetry) void
setQuotaProjectId
(String quotaProjectId) void
setRestrictAllowedResourcesRetry
(Retry restrictAllowedResourcesRetry) void
void
setUpdateWorkloadRetry
(Retry updateWorkloadRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
AssuredWorkloadsServiceSpringProperties
public AssuredWorkloadsServiceSpringProperties()
-
-
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
-
getUpdateWorkloadRetry
-
setUpdateWorkloadRetry
-
getRestrictAllowedResourcesRetry
-
setRestrictAllowedResourcesRetry
-
getDeleteWorkloadRetry
-
setDeleteWorkloadRetry
-
getGetWorkloadRetry
-
setGetWorkloadRetry
-
getListWorkloadsRetry
-
setListWorkloadsRetry
-
getListViolationsRetry
-
setListViolationsRetry
-
getGetViolationRetry
-
setGetViolationRetry
-
getAcknowledgeViolationRetry
-
setAcknowledgeViolationRetry
-