Class RegionNetworkFirewallPoliciesSettings.Builder (1.11.0)

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

Builder for RegionNetworkFirewallPoliciesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionNetworkFirewallPoliciesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionNetworkFirewallPoliciesSettings settings)

protected Builder(RegionNetworkFirewallPoliciesSettings settings)
Parameter
NameDescription
settingsRegionNetworkFirewallPoliciesSettings

Builder(RegionNetworkFirewallPoliciesStubSettings.Builder stubSettings)

protected Builder(RegionNetworkFirewallPoliciesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionNetworkFirewallPoliciesStubSettings.Builder

Methods

addAssociationOperationSettings()

public OperationCallSettings.Builder<AddAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation> addAssociationOperationSettings()

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

Returns
TypeDescription
Builder<AddAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation>

addAssociationSettings()

public UnaryCallSettings.Builder<AddAssociationRegionNetworkFirewallPolicyRequest,Operation> addAssociationSettings()

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

Returns
TypeDescription
Builder<AddAssociationRegionNetworkFirewallPolicyRequest,Operation>

addRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<AddRuleRegionNetworkFirewallPolicyRequest,Operation,Operation>

addRuleSettings()

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

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

Returns
TypeDescription
Builder<AddRuleRegionNetworkFirewallPolicyRequest,Operation>

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

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

build()

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

cloneRulesOperationSettings()

public OperationCallSettings.Builder<CloneRulesRegionNetworkFirewallPolicyRequest,Operation,Operation> cloneRulesOperationSettings()

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

Returns
TypeDescription
Builder<CloneRulesRegionNetworkFirewallPolicyRequest,Operation,Operation>

cloneRulesSettings()

public UnaryCallSettings.Builder<CloneRulesRegionNetworkFirewallPolicyRequest,Operation> cloneRulesSettings()

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

Returns
TypeDescription
Builder<CloneRulesRegionNetworkFirewallPolicyRequest,Operation>

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionNetworkFirewallPolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionNetworkFirewallPolicyRequest,Operation>

getAssociationSettings()

public UnaryCallSettings.Builder<GetAssociationRegionNetworkFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationSettings()

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

Returns
TypeDescription
Builder<GetAssociationRegionNetworkFirewallPolicyRequest,FirewallPolicyAssociation>

getEffectiveFirewallsSettings()

public UnaryCallSettings.Builder<GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest,RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> getEffectiveFirewallsSettings()

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

Returns
TypeDescription
Builder<GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest,RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRegionNetworkFirewallPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<GetIamPolicyRegionNetworkFirewallPolicyRequest,Policy>

getRuleSettings()

public UnaryCallSettings.Builder<GetRuleRegionNetworkFirewallPolicyRequest,FirewallPolicyRule> getRuleSettings()

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

Returns
TypeDescription
Builder<GetRuleRegionNetworkFirewallPolicyRequest,FirewallPolicyRule>

getSettings()

public UnaryCallSettings.Builder<GetRegionNetworkFirewallPolicyRequest,FirewallPolicy> getSettings()

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

Returns
TypeDescription
Builder<GetRegionNetworkFirewallPolicyRequest,FirewallPolicy>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionNetworkFirewallPolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionNetworkFirewallPolicyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionNetworkFirewallPoliciesRequest,FirewallPolicyList,RegionNetworkFirewallPoliciesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionNetworkFirewallPoliciesRequest,FirewallPolicyList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionNetworkFirewallPolicyRequest,Operation,Operation>

patchRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRuleRegionNetworkFirewallPolicyRequest,Operation,Operation>

patchRuleSettings()

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

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

Returns
TypeDescription
Builder<PatchRuleRegionNetworkFirewallPolicyRequest,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionNetworkFirewallPolicyRequest,Operation>

removeAssociationOperationSettings()

public OperationCallSettings.Builder<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation> removeAssociationOperationSettings()

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

Returns
TypeDescription
Builder<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation,Operation>

removeAssociationSettings()

public UnaryCallSettings.Builder<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation> removeAssociationSettings()

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

Returns
TypeDescription
Builder<RemoveAssociationRegionNetworkFirewallPolicyRequest,Operation>

removeRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<RemoveRuleRegionNetworkFirewallPolicyRequest,Operation,Operation>

removeRuleSettings()

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

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

Returns
TypeDescription
Builder<RemoveRuleRegionNetworkFirewallPolicyRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRegionNetworkFirewallPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<SetIamPolicyRegionNetworkFirewallPolicyRequest,Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRegionNetworkFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<TestIamPermissionsRegionNetworkFirewallPolicyRequest,TestPermissionsResponse>