Class FirewallPoliciesSettings.Builder (1.64.0)

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

Builder for FirewallPoliciesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FirewallPoliciesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FirewallPoliciesSettings settings)

protected Builder(FirewallPoliciesSettings settings)
Parameter
Name Description
settings FirewallPoliciesSettings

Builder(FirewallPoliciesStubSettings.Builder stubSettings)

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

Methods

addAssociationOperationSettings()

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

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

Returns
Type Description
Builder<AddAssociationFirewallPolicyRequest,Operation,Operation>

addAssociationSettings()

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

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

Returns
Type Description
Builder<AddAssociationFirewallPolicyRequest,Operation>

addRuleOperationSettings()

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

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

Returns
Type Description
Builder<AddRuleFirewallPolicyRequest,Operation,Operation>

addRuleSettings()

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

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

Returns
Type Description
Builder<AddRuleFirewallPolicyRequest,Operation>

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

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

build()

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

cloneRulesOperationSettings()

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

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

Returns
Type Description
Builder<CloneRulesFirewallPolicyRequest,Operation,Operation>

cloneRulesSettings()

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

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

Returns
Type Description
Builder<CloneRulesFirewallPolicyRequest,Operation>

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteFirewallPolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteFirewallPolicyRequest,Operation>

getAssociationSettings()

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

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

Returns
Type Description
Builder<GetAssociationFirewallPolicyRequest,FirewallPolicyAssociation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyFirewallPolicyRequest,Policy>

getRuleSettings()

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

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

Returns
Type Description
Builder<GetRuleFirewallPolicyRequest,FirewallPolicyRule>

getSettings()

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

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

Returns
Type Description
Builder<GetFirewallPolicyRequest,FirewallPolicy>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertFirewallPolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertFirewallPolicyRequest,Operation>

listAssociationsSettings()

public UnaryCallSettings.Builder<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse> listAssociationsSettings()

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

Returns
Type Description
Builder<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse>

listSettings()

public PagedCallSettings.Builder<ListFirewallPoliciesRequest,FirewallPolicyList,FirewallPoliciesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListFirewallPoliciesRequest,FirewallPolicyList,ListPagedResponse>

moveOperationSettings()

public OperationCallSettings.Builder<MoveFirewallPolicyRequest,Operation,Operation> moveOperationSettings()

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

Returns
Type Description
Builder<MoveFirewallPolicyRequest,Operation,Operation>

moveSettings()

public UnaryCallSettings.Builder<MoveFirewallPolicyRequest,Operation> moveSettings()

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

Returns
Type Description
Builder<MoveFirewallPolicyRequest,Operation>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchFirewallPolicyRequest,Operation,Operation>

patchRuleOperationSettings()

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

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

Returns
Type Description
Builder<PatchRuleFirewallPolicyRequest,Operation,Operation>

patchRuleSettings()

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

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

Returns
Type Description
Builder<PatchRuleFirewallPolicyRequest,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchFirewallPolicyRequest,Operation>

removeAssociationOperationSettings()

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

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

Returns
Type Description
Builder<RemoveAssociationFirewallPolicyRequest,Operation,Operation>

removeAssociationSettings()

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

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

Returns
Type Description
Builder<RemoveAssociationFirewallPolicyRequest,Operation>

removeRuleOperationSettings()

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

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

Returns
Type Description
Builder<RemoveRuleFirewallPolicyRequest,Operation,Operation>

removeRuleSettings()

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

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

Returns
Type Description
Builder<RemoveRuleFirewallPolicyRequest,Operation>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyFirewallPolicyRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsFirewallPolicyRequest,TestPermissionsResponse>