Class EnvironmentsSettings.Builder (1.41.0)

public static class EnvironmentsSettings.Builder extends ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>

Builder for EnvironmentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EnvironmentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EnvironmentsSettings settings)

protected Builder(EnvironmentsSettings settings)
Parameter
NameDescription
settingsEnvironmentsSettings

Builder(EnvironmentsStubSettings.Builder stubSettings)

protected Builder(EnvironmentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEnvironmentsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public EnvironmentsSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EnvironmentsSettings.Builder

build()

public EnvironmentsSettings build()
Returns
TypeDescription
EnvironmentsSettings
Overrides
Exceptions
TypeDescription
IOException

createEnvironmentOperationSettings()

public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()

Returns the builder for the settings used for calls to createEnvironment.

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Environment,OperationMetadata>

createEnvironmentSettings()

public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()

Returns the builder for the settings used for calls to createEnvironment.

Returns
TypeDescription
Builder<CreateEnvironmentRequest,Operation>

createUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<CreateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> createUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to createUserWorkloadsConfigMap.

Returns
TypeDescription
Builder<CreateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap>

createUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<CreateUserWorkloadsSecretRequest,UserWorkloadsSecret> createUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to createUserWorkloadsSecret.

Returns
TypeDescription
Builder<CreateUserWorkloadsSecretRequest,UserWorkloadsSecret>

databaseFailoverOperationSettings()

public OperationCallSettings.Builder<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata> databaseFailoverOperationSettings()

Returns the builder for the settings used for calls to databaseFailover.

Returns
TypeDescription
Builder<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata>

databaseFailoverSettings()

public UnaryCallSettings.Builder<DatabaseFailoverRequest,Operation> databaseFailoverSettings()

Returns the builder for the settings used for calls to databaseFailover.

Returns
TypeDescription
Builder<DatabaseFailoverRequest,Operation>

deleteEnvironmentOperationSettings()

public OperationCallSettings.Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()

Returns the builder for the settings used for calls to deleteEnvironment.

Returns
TypeDescription
Builder<DeleteEnvironmentRequest,Empty,OperationMetadata>

deleteEnvironmentSettings()

public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()

Returns the builder for the settings used for calls to deleteEnvironment.

Returns
TypeDescription
Builder<DeleteEnvironmentRequest,Operation>

deleteUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<DeleteUserWorkloadsConfigMapRequest,Empty> deleteUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to deleteUserWorkloadsConfigMap.

Returns
TypeDescription
Builder<DeleteUserWorkloadsConfigMapRequest,Empty>

deleteUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<DeleteUserWorkloadsSecretRequest,Empty> deleteUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to deleteUserWorkloadsSecret.

Returns
TypeDescription
Builder<DeleteUserWorkloadsSecretRequest,Empty>

executeAirflowCommandSettings()

public UnaryCallSettings.Builder<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse> executeAirflowCommandSettings()

Returns the builder for the settings used for calls to executeAirflowCommand.

Returns
TypeDescription
Builder<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse>

fetchDatabasePropertiesSettings()

public UnaryCallSettings.Builder<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse> fetchDatabasePropertiesSettings()

Returns the builder for the settings used for calls to fetchDatabaseProperties.

Returns
TypeDescription
Builder<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse>

getEnvironmentSettings()

public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()

Returns the builder for the settings used for calls to getEnvironment.

Returns
TypeDescription
Builder<GetEnvironmentRequest,Environment>

getStubSettingsBuilder()

public EnvironmentsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EnvironmentsStubSettings.Builder

getUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<GetUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> getUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to getUserWorkloadsConfigMap.

Returns
TypeDescription
Builder<GetUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap>

getUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<GetUserWorkloadsSecretRequest,UserWorkloadsSecret> getUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to getUserWorkloadsSecret.

Returns
TypeDescription
Builder<GetUserWorkloadsSecretRequest,UserWorkloadsSecret>

listEnvironmentsSettings()

public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()

Returns the builder for the settings used for calls to listEnvironments.

Returns
TypeDescription
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse>

listUserWorkloadsConfigMapsSettings()

public PagedCallSettings.Builder<ListUserWorkloadsConfigMapsRequest,ListUserWorkloadsConfigMapsResponse,EnvironmentsClient.ListUserWorkloadsConfigMapsPagedResponse> listUserWorkloadsConfigMapsSettings()

Returns the builder for the settings used for calls to listUserWorkloadsConfigMaps.

Returns
TypeDescription
Builder<ListUserWorkloadsConfigMapsRequest,ListUserWorkloadsConfigMapsResponse,ListUserWorkloadsConfigMapsPagedResponse>

listUserWorkloadsSecretsSettings()

public PagedCallSettings.Builder<ListUserWorkloadsSecretsRequest,ListUserWorkloadsSecretsResponse,EnvironmentsClient.ListUserWorkloadsSecretsPagedResponse> listUserWorkloadsSecretsSettings()

Returns the builder for the settings used for calls to listUserWorkloadsSecrets.

Returns
TypeDescription
Builder<ListUserWorkloadsSecretsRequest,ListUserWorkloadsSecretsResponse,ListUserWorkloadsSecretsPagedResponse>

listWorkloadsSettings()

public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse,EnvironmentsClient.ListWorkloadsPagedResponse> listWorkloadsSettings()

Returns the builder for the settings used for calls to listWorkloads.

Returns
TypeDescription
Builder<ListWorkloadsRequest,ListWorkloadsResponse,ListWorkloadsPagedResponse>

loadSnapshotOperationSettings()

public OperationCallSettings.Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata> loadSnapshotOperationSettings()

Returns the builder for the settings used for calls to loadSnapshot.

Returns
TypeDescription
Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata>

loadSnapshotSettings()

public UnaryCallSettings.Builder<LoadSnapshotRequest,Operation> loadSnapshotSettings()

Returns the builder for the settings used for calls to loadSnapshot.

Returns
TypeDescription
Builder<LoadSnapshotRequest,Operation>

pollAirflowCommandSettings()

public UnaryCallSettings.Builder<PollAirflowCommandRequest,PollAirflowCommandResponse> pollAirflowCommandSettings()

Returns the builder for the settings used for calls to pollAirflowCommand.

Returns
TypeDescription
Builder<PollAirflowCommandRequest,PollAirflowCommandResponse>

saveSnapshotOperationSettings()

public OperationCallSettings.Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata> saveSnapshotOperationSettings()

Returns the builder for the settings used for calls to saveSnapshot.

Returns
TypeDescription
Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata>

saveSnapshotSettings()

public UnaryCallSettings.Builder<SaveSnapshotRequest,Operation> saveSnapshotSettings()

Returns the builder for the settings used for calls to saveSnapshot.

Returns
TypeDescription
Builder<SaveSnapshotRequest,Operation>

stopAirflowCommandSettings()

public UnaryCallSettings.Builder<StopAirflowCommandRequest,StopAirflowCommandResponse> stopAirflowCommandSettings()

Returns the builder for the settings used for calls to stopAirflowCommand.

Returns
TypeDescription
Builder<StopAirflowCommandRequest,StopAirflowCommandResponse>

updateEnvironmentOperationSettings()

public OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationSettings()

Returns the builder for the settings used for calls to updateEnvironment.

Returns
TypeDescription
Builder<UpdateEnvironmentRequest,Environment,OperationMetadata>

updateEnvironmentSettings()

public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Operation> updateEnvironmentSettings()

Returns the builder for the settings used for calls to updateEnvironment.

Returns
TypeDescription
Builder<UpdateEnvironmentRequest,Operation>

updateUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<UpdateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> updateUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to updateUserWorkloadsConfigMap.

Returns
TypeDescription
Builder<UpdateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap>

updateUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<UpdateUserWorkloadsSecretRequest,UserWorkloadsSecret> updateUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to updateUserWorkloadsSecret.

Returns
TypeDescription
Builder<UpdateUserWorkloadsSecretRequest,UserWorkloadsSecret>