Class RoutersSettings.Builder (1.18.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
NameDescription
clientContextClientContext

Builder(RoutersSettings settings)

protected Builder(RoutersSettings settings)
Parameter
NameDescription
settingsRoutersSettings

Builder(RoutersStubSettings.Builder stubSettings)

protected Builder(RoutersStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRoutersStubSettings.Builder

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RoutersSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouterRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouterRequest,Operation>

getNatMappingInfoSettings()

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

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

Returns
TypeDescription
Builder<GetNatMappingInfoRoutersRequest,VmEndpointNatMappingsList,GetNatMappingInfoPagedResponse>

getRouterStatusSettings()

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

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

Returns
TypeDescription
Builder<GetRouterStatusRouterRequest,RouterStatusResponse>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRouterRequest,Router>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRouterRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRouterRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListRoutersRequest,RouterList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRouterRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchRouterRequest,Operation>

previewSettings()

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

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

Returns
TypeDescription
Builder<PreviewRouterRequest,RoutersPreviewResponse>

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateRouterRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateRouterRequest,Operation>