Class TargetVpnGatewaysSettings.Builder (1.59.0)

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

Builder for TargetVpnGatewaysSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TargetVpnGatewaysSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TargetVpnGatewaysSettings settings)

protected Builder(TargetVpnGatewaysSettings settings)
Parameter
Name Description
settings TargetVpnGatewaysSettings

Builder(TargetVpnGatewaysStubSettings.Builder stubSettings)

protected Builder(TargetVpnGatewaysStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TargetVpnGatewaysStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewayAggregatedList,TargetVpnGatewaysClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewayAggregatedList,AggregatedListPagedResponse>

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

public TargetVpnGatewaysSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
TargetVpnGatewaysSettings.Builder

build()

public TargetVpnGatewaysSettings build()
Returns
Type Description
TargetVpnGatewaysSettings
Overrides
Exceptions
Type Description
IOException

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteTargetVpnGatewayRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteTargetVpnGatewayRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteTargetVpnGatewayRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteTargetVpnGatewayRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetTargetVpnGatewayRequest,TargetVpnGateway> getSettings()

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

Returns
Type Description
Builder<GetTargetVpnGatewayRequest,TargetVpnGateway>

getStubSettingsBuilder()

public TargetVpnGatewaysStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TargetVpnGatewaysStubSettings.Builder

insertOperationSettings()

public OperationCallSettings.Builder<InsertTargetVpnGatewayRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertTargetVpnGatewayRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertTargetVpnGatewayRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertTargetVpnGatewayRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGatewaysClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,ListPagedResponse>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsTargetVpnGatewayRequest,Operation,Operation> setLabelsOperationSettings()

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

Returns
Type Description
Builder<SetLabelsTargetVpnGatewayRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsTargetVpnGatewayRequest,Operation> setLabelsSettings()

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

Returns
Type Description
Builder<SetLabelsTargetVpnGatewayRequest,Operation>