Class RegionSecurityPoliciesStubSettings.Builder (1.58.0)

public static class RegionSecurityPoliciesStubSettings.Builder extends StubSettings.Builder<RegionSecurityPoliciesStubSettings,RegionSecurityPoliciesStubSettings.Builder>

Builder for RegionSecurityPoliciesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionSecurityPoliciesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionSecurityPoliciesStubSettings settings)

protected Builder(RegionSecurityPoliciesStubSettings settings)
Parameter
Name Description
settings RegionSecurityPoliciesStubSettings

Methods

addRuleOperationSettings()

public OperationCallSettings.Builder<AddRuleRegionSecurityPolicyRequest,Operation,Operation> addRuleOperationSettings()

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

Returns
Type Description
Builder<AddRuleRegionSecurityPolicyRequest,Operation,Operation>

addRuleSettings()

public UnaryCallSettings.Builder<AddRuleRegionSecurityPolicyRequest,Operation> addRuleSettings()

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

Returns
Type Description
Builder<AddRuleRegionSecurityPolicyRequest,Operation>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteRegionSecurityPolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteRegionSecurityPolicyRequest,Operation>

getRuleSettings()

public UnaryCallSettings.Builder<GetRuleRegionSecurityPolicyRequest,SecurityPolicyRule> getRuleSettings()

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

Returns
Type Description
Builder<GetRuleRegionSecurityPolicyRequest,SecurityPolicyRule>

getSettings()

public UnaryCallSettings.Builder<GetRegionSecurityPolicyRequest,SecurityPolicy> getSettings()

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

Returns
Type Description
Builder<GetRegionSecurityPolicyRequest,SecurityPolicy>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertRegionSecurityPolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertRegionSecurityPolicyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionSecurityPoliciesRequest,SecurityPolicyList,RegionSecurityPoliciesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionSecurityPoliciesRequest,SecurityPolicyList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchRegionSecurityPolicyRequest,Operation,Operation>

patchRuleOperationSettings()

public OperationCallSettings.Builder<PatchRuleRegionSecurityPolicyRequest,Operation,Operation> patchRuleOperationSettings()

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

Returns
Type Description
Builder<PatchRuleRegionSecurityPolicyRequest,Operation,Operation>

patchRuleSettings()

public UnaryCallSettings.Builder<PatchRuleRegionSecurityPolicyRequest,Operation> patchRuleSettings()

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

Returns
Type Description
Builder<PatchRuleRegionSecurityPolicyRequest,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchRegionSecurityPolicyRequest,Operation>

removeRuleOperationSettings()

public OperationCallSettings.Builder<RemoveRuleRegionSecurityPolicyRequest,Operation,Operation> removeRuleOperationSettings()

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

Returns
Type Description
Builder<RemoveRuleRegionSecurityPolicyRequest,Operation,Operation>

removeRuleSettings()

public UnaryCallSettings.Builder<RemoveRuleRegionSecurityPolicyRequest,Operation> removeRuleSettings()

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

Returns
Type Description
Builder<RemoveRuleRegionSecurityPolicyRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>