public static class TargetPoolSettings.Builder extends ClientSettings.Builder<TargetPoolSettings,TargetPoolSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(TargetPoolSettings settings) |
protected |
Builder(TargetPoolStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(TargetPoolSettings settings)
protected Builder(TargetPoolStubSettings.Builder stubSettings)
public TargetPoolStubSettings.Builder getStubSettingsBuilder()
public TargetPoolSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<AddHealthCheckTargetPoolHttpRequest,Operation> addHealthCheckTargetPoolSettings()
public UnaryCallSettings.Builder<AddInstanceTargetPoolHttpRequest,Operation> addInstanceTargetPoolSettings()
public PagedCallSettings.Builder<AggregatedListTargetPoolsHttpRequest,TargetPoolAggregatedList,TargetPoolClient.AggregatedListTargetPoolsPagedResponse> aggregatedListTargetPoolsSettings()
public UnaryCallSettings.Builder<DeleteTargetPoolHttpRequest,Operation> deleteTargetPoolSettings()
public UnaryCallSettings.Builder<GetTargetPoolHttpRequest,TargetPool> getTargetPoolSettings()
public UnaryCallSettings.Builder<GetHealthTargetPoolHttpRequest,TargetPoolInstanceHealth> getHealthTargetPoolSettings()
public UnaryCallSettings.Builder<InsertTargetPoolHttpRequest,Operation> insertTargetPoolSettings()
public PagedCallSettings.Builder<ListTargetPoolsHttpRequest,TargetPoolList,TargetPoolClient.ListTargetPoolsPagedResponse> listTargetPoolsSettings()
public UnaryCallSettings.Builder<RemoveHealthCheckTargetPoolHttpRequest,Operation> removeHealthCheckTargetPoolSettings()
public UnaryCallSettings.Builder<RemoveInstanceTargetPoolHttpRequest,Operation> removeInstanceTargetPoolSettings()
public UnaryCallSettings.Builder<SetBackupTargetPoolHttpRequest,Operation> setBackupTargetPoolSettings()
public TargetPoolSettings build() throws IOException
build
in class ClientSettings.Builder<TargetPoolSettings,TargetPoolSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.