@Generated(value="by gapic-generator-java") public class AwsClustersSettings extends com.google.api.gax.rpc.ClientSettings<AwsClustersSettings>
AwsClustersClient.
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 getAwsCluster to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AwsClustersSettings.Builder awsClustersSettingsBuilder = AwsClustersSettings.newBuilder();
awsClustersSettingsBuilder
.getAwsClusterSettings()
.setRetrySettings(
awsClustersSettingsBuilder
.getAwsClusterSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AwsClustersSettings awsClustersSettings = awsClustersSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
AwsClustersSettings.Builder
Builder for AwsClustersSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AwsClustersSettings(AwsClustersSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static AwsClustersSettings |
create(AwsClustersStubSettings stub) |
com.google.api.gax.rpc.OperationCallSettings<CreateAwsClusterRequest,AwsCluster,OperationMetadata> |
createAwsClusterOperationSettings()
Returns the object with the settings used for calls to createAwsCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateAwsClusterRequest,com.google.longrunning.Operation> |
createAwsClusterSettings()
Returns the object with the settings used for calls to createAwsCluster.
|
com.google.api.gax.rpc.OperationCallSettings<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata> |
createAwsNodePoolOperationSettings()
Returns the object with the settings used for calls to createAwsNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateAwsNodePoolRequest,com.google.longrunning.Operation> |
createAwsNodePoolSettings()
Returns the object with the settings used for calls to createAwsNodePool.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteAwsClusterRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteAwsClusterOperationSettings()
Returns the object with the settings used for calls to deleteAwsCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteAwsClusterRequest,com.google.longrunning.Operation> |
deleteAwsClusterSettings()
Returns the object with the settings used for calls to deleteAwsCluster.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteAwsNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteAwsNodePoolOperationSettings()
Returns the object with the settings used for calls to deleteAwsNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteAwsNodePoolRequest,com.google.longrunning.Operation> |
deleteAwsNodePoolSettings()
Returns the object with the settings used for calls to deleteAwsNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse> |
generateAwsAccessTokenSettings()
Returns the object with the settings used for calls to generateAwsAccessToken.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAwsClusterRequest,AwsCluster> |
getAwsClusterSettings()
Returns the object with the settings used for calls to getAwsCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAwsNodePoolRequest,AwsNodePool> |
getAwsNodePoolSettings()
Returns the object with the settings used for calls to getAwsNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAwsServerConfigRequest,AwsServerConfig> |
getAwsServerConfigSettings()
Returns the object with the settings used for calls to getAwsServerConfig.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.PagedCallSettings<ListAwsClustersRequest,ListAwsClustersResponse,AwsClustersClient.ListAwsClustersPagedResponse> |
listAwsClustersSettings()
Returns the object with the settings used for calls to listAwsClusters.
|
com.google.api.gax.rpc.PagedCallSettings<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse,AwsClustersClient.ListAwsNodePoolsPagedResponse> |
listAwsNodePoolsSettings()
Returns the object with the settings used for calls to listAwsNodePools.
|
static AwsClustersSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static AwsClustersSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static AwsClustersSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
AwsClustersSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateAwsClusterRequest,AwsCluster,OperationMetadata> |
updateAwsClusterOperationSettings()
Returns the object with the settings used for calls to updateAwsCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateAwsClusterRequest,com.google.longrunning.Operation> |
updateAwsClusterSettings()
Returns the object with the settings used for calls to updateAwsCluster.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata> |
updateAwsNodePoolOperationSettings()
Returns the object with the settings used for calls to updateAwsNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateAwsNodePoolRequest,com.google.longrunning.Operation> |
updateAwsNodePoolSettings()
Returns the object with the settings used for calls to updateAwsNodePool.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected AwsClustersSettings(AwsClustersSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateAwsClusterRequest,com.google.longrunning.Operation> createAwsClusterSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateAwsClusterRequest,AwsCluster,OperationMetadata> createAwsClusterOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateAwsClusterRequest,com.google.longrunning.Operation> updateAwsClusterSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateAwsClusterRequest,AwsCluster,OperationMetadata> updateAwsClusterOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAwsClusterRequest,AwsCluster> getAwsClusterSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListAwsClustersRequest,ListAwsClustersResponse,AwsClustersClient.ListAwsClustersPagedResponse> listAwsClustersSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAwsClusterRequest,com.google.longrunning.Operation> deleteAwsClusterSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteAwsClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteAwsClusterOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse> generateAwsAccessTokenSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateAwsNodePoolRequest,com.google.longrunning.Operation> createAwsNodePoolSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata> createAwsNodePoolOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateAwsNodePoolRequest,com.google.longrunning.Operation> updateAwsNodePoolSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata> updateAwsNodePoolOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAwsNodePoolRequest,AwsNodePool> getAwsNodePoolSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse,AwsClustersClient.ListAwsNodePoolsPagedResponse> listAwsNodePoolsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAwsNodePoolRequest,com.google.longrunning.Operation> deleteAwsNodePoolSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteAwsNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> deleteAwsNodePoolOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAwsServerConfigRequest,AwsServerConfig> getAwsServerConfigSettings()
public static final AwsClustersSettings create(AwsClustersStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static AwsClustersSettings.Builder newBuilder()
@BetaApi public static AwsClustersSettings.Builder newHttpJsonBuilder()
public static AwsClustersSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public AwsClustersSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<AwsClustersSettings>Copyright © 2023 Google LLC. All rights reserved.