Class RoutersSettings.Builder (1.58.0)

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

Builder for RoutersSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RoutersSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RoutersSettings settings)

protected Builder(RoutersSettings settings)
Parameter
Name Description
settings RoutersSettings

Builder(RoutersStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListRoutersRequest,RouterAggregatedList,RoutersClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListRoutersRequest,RouterAggregatedList,AggregatedListPagedResponse>

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

public RoutersSettings.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
RoutersSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteRouterRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteRouterRequest,Operation>

getNatIpInfoSettings()

public UnaryCallSettings.Builder<GetNatIpInfoRouterRequest,NatIpInfoResponse> getNatIpInfoSettings()

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

Returns
Type Description
Builder<GetNatIpInfoRouterRequest,NatIpInfoResponse>

getNatMappingInfoSettings()

public PagedCallSettings.Builder<GetNatMappingInfoRoutersRequest,VmEndpointNatMappingsList,RoutersClient.GetNatMappingInfoPagedResponse> getNatMappingInfoSettings()

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

Returns
Type Description
Builder<GetNatMappingInfoRoutersRequest,VmEndpointNatMappingsList,GetNatMappingInfoPagedResponse>

getRouterStatusSettings()

public UnaryCallSettings.Builder<GetRouterStatusRouterRequest,RouterStatusResponse> getRouterStatusSettings()

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

Returns
Type Description
Builder<GetRouterStatusRouterRequest,RouterStatusResponse>

getSettings()

public UnaryCallSettings.Builder<GetRouterRequest,Router> getSettings()

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

Returns
Type Description
Builder<GetRouterRequest,Router>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertRouterRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertRouterRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRoutersRequest,RouterList,RoutersClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRoutersRequest,RouterList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchRouterRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchRouterRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchRouterRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchRouterRequest,Operation>

previewSettings()

public UnaryCallSettings.Builder<PreviewRouterRequest,RoutersPreviewResponse> previewSettings()

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

Returns
Type Description
Builder<PreviewRouterRequest,RoutersPreviewResponse>

updateOperationSettings()

public OperationCallSettings.Builder<UpdateRouterRequest,Operation,Operation> updateOperationSettings()

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

Returns
Type Description
Builder<UpdateRouterRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateRouterRequest,Operation> updateSettings()

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

Returns
Type Description
Builder<UpdateRouterRequest,Operation>