Class RegionSecurityPoliciesSettings.Builder (1.51.0)

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

Builder for RegionSecurityPoliciesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionSecurityPoliciesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionSecurityPoliciesSettings settings)

protected Builder(RegionSecurityPoliciesSettings settings)
Parameter
NameDescription
settingsRegionSecurityPoliciesSettings

Builder(RegionSecurityPoliciesStubSettings.Builder stubSettings)

protected Builder(RegionSecurityPoliciesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionSecurityPoliciesStubSettings.Builder

Methods

addRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<AddRuleRegionSecurityPolicyRequest,Operation,Operation>

addRuleSettings()

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

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

Returns
TypeDescription
Builder<AddRuleRegionSecurityPolicyRequest,Operation>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionSecurityPolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionSecurityPolicyRequest,Operation>

getRuleSettings()

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

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

Returns
TypeDescription
Builder<GetRuleRegionSecurityPolicyRequest,SecurityPolicyRule>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionSecurityPolicyRequest,SecurityPolicy>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionSecurityPolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionSecurityPolicyRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListRegionSecurityPoliciesRequest,SecurityPolicyList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionSecurityPolicyRequest,Operation,Operation>

patchRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRuleRegionSecurityPolicyRequest,Operation,Operation>

patchRuleSettings()

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

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

Returns
TypeDescription
Builder<PatchRuleRegionSecurityPolicyRequest,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionSecurityPolicyRequest,Operation>

removeRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<RemoveRuleRegionSecurityPolicyRequest,Operation,Operation>

removeRuleSettings()

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

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

Returns
TypeDescription
Builder<RemoveRuleRegionSecurityPolicyRequest,Operation>