@Generated(value="by gapic-generator") @BetaApi public class InstanceGroupManagerSettings extends ClientSettings<InstanceGroupManagerSettings>
InstanceGroupManagerClient
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of abandonInstancesInstanceGroupManager to 30 seconds:
InstanceGroupManagerSettings.Builder instanceGroupManagerSettingsBuilder =
InstanceGroupManagerSettings.newBuilder();
instanceGroupManagerSettingsBuilder.abandonInstancesInstanceGroupManagerSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
InstanceGroupManagerSettings instanceGroupManagerSettings = instanceGroupManagerSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
InstanceGroupManagerSettings.Builder
Builder for InstanceGroupManagerSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
InstanceGroupManagerSettings(InstanceGroupManagerSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected InstanceGroupManagerSettings(InstanceGroupManagerSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<AbandonInstancesInstanceGroupManagerHttpRequest,Operation> abandonInstancesInstanceGroupManagerSettings()
public PagedCallSettings<AggregatedListInstanceGroupManagersHttpRequest,InstanceGroupManagerAggregatedList,InstanceGroupManagerClient.AggregatedListInstanceGroupManagersPagedResponse> aggregatedListInstanceGroupManagersSettings()
public UnaryCallSettings<DeleteInstanceGroupManagerHttpRequest,Operation> deleteInstanceGroupManagerSettings()
public UnaryCallSettings<DeleteInstancesInstanceGroupManagerHttpRequest,Operation> deleteInstancesInstanceGroupManagerSettings()
public UnaryCallSettings<GetInstanceGroupManagerHttpRequest,InstanceGroupManager> getInstanceGroupManagerSettings()
public UnaryCallSettings<InsertInstanceGroupManagerHttpRequest,Operation> insertInstanceGroupManagerSettings()
public PagedCallSettings<ListInstanceGroupManagersHttpRequest,InstanceGroupManagerList,InstanceGroupManagerClient.ListInstanceGroupManagersPagedResponse> listInstanceGroupManagersSettings()
public UnaryCallSettings<ListManagedInstancesInstanceGroupManagersHttpRequest,InstanceGroupManagersListManagedInstancesResponse> listManagedInstancesInstanceGroupManagersSettings()
public UnaryCallSettings<PatchInstanceGroupManagerHttpRequest,Operation> patchInstanceGroupManagerSettings()
public UnaryCallSettings<RecreateInstancesInstanceGroupManagerHttpRequest,Operation> recreateInstancesInstanceGroupManagerSettings()
public UnaryCallSettings<ResizeInstanceGroupManagerHttpRequest,Operation> resizeInstanceGroupManagerSettings()
public UnaryCallSettings<SetInstanceTemplateInstanceGroupManagerHttpRequest,Operation> setInstanceTemplateInstanceGroupManagerSettings()
public UnaryCallSettings<SetTargetPoolsInstanceGroupManagerHttpRequest,Operation> setTargetPoolsInstanceGroupManagerSettings()
public static final InstanceGroupManagerSettings create(InstanceGroupManagerStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static InstanceGroupManagerSettings.Builder newBuilder()
public static InstanceGroupManagerSettings.Builder newBuilder(ClientContext clientContext)
public InstanceGroupManagerSettings.Builder toBuilder()
toBuilder
in class ClientSettings<InstanceGroupManagerSettings>
Copyright © 2019 Google LLC. All rights reserved.