public static class CloudRedisClusterSettings.Builder extends ClientSettings.Builder<CloudRedisClusterSettings,CloudRedisClusterSettings.Builder>
Builder for CloudRedisClusterSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(CloudRedisClusterSettings settings)
protected Builder(CloudRedisClusterSettings settings)
Builder(CloudRedisClusterStubSettings.Builder stubSettings)
protected Builder(CloudRedisClusterStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CloudRedisClusterSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public CloudRedisClusterSettings build()
Overrides
createClusterOperationSettings()
public OperationCallSettings.Builder<CreateClusterRequest,Cluster,Any> createClusterOperationSettings()
Returns the builder for the settings used for calls to createCluster.
createClusterSettings()
public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()
Returns the builder for the settings used for calls to createCluster.
deleteClusterOperationSettings()
public OperationCallSettings.Builder<DeleteClusterRequest,Empty,Any> deleteClusterOperationSettings()
Returns the builder for the settings used for calls to deleteCluster.
deleteClusterSettings()
public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.
getClusterCertificateAuthoritySettings()
public UnaryCallSettings.Builder<GetClusterCertificateAuthorityRequest,CertificateAuthority> getClusterCertificateAuthoritySettings()
Returns the builder for the settings used for calls to getClusterCertificateAuthority.
getClusterSettings()
public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public CloudRedisClusterStubSettings.Builder getStubSettingsBuilder()
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,CloudRedisClusterClient.ListClustersPagedResponse> listClustersSettings()
Returns the builder for the settings used for calls to listClusters.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CloudRedisClusterClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
updateClusterOperationSettings()
public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,Any> updateClusterOperationSettings()
Returns the builder for the settings used for calls to updateCluster.
updateClusterSettings()
public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()
Returns the builder for the settings used for calls to updateCluster.