Class UpdateFirewallRuleOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.firewall_rules.v1.model.UpdateFirewallRuleOptions.Builder
-
- Enclosing class:
- UpdateFirewallRuleOptions
public static class UpdateFirewallRuleOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFirewallRuleOptions.Builder
action(String action)
Set the action.UpdateFirewallRuleOptions
build()
Builds a UpdateFirewallRuleOptions.UpdateFirewallRuleOptions.Builder
crn(String crn)
Set the crn.UpdateFirewallRuleOptions.Builder
description(String description)
Set the description.UpdateFirewallRuleOptions.Builder
filter(FirewallRuleUpdateInputFilter filter)
Set the filter.UpdateFirewallRuleOptions.Builder
firewallRuleIdentifier(String firewallRuleIdentifier)
Set the firewallRuleIdentifier.UpdateFirewallRuleOptions.Builder
paused(Boolean paused)
Set the paused.UpdateFirewallRuleOptions.Builder
xAuthUserToken(String xAuthUserToken)
Set the xAuthUserToken.UpdateFirewallRuleOptions.Builder
zoneIdentifier(String zoneIdentifier)
Set the zoneIdentifier.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String xAuthUserToken, String crn, String zoneIdentifier, String firewallRuleIdentifier)
Instantiates a new builder with required properties.- Parameters:
xAuthUserToken
- the xAuthUserTokencrn
- the crnzoneIdentifier
- the zoneIdentifierfirewallRuleIdentifier
- the firewallRuleIdentifier
-
-
Method Detail
-
build
public UpdateFirewallRuleOptions build()
Builds a UpdateFirewallRuleOptions.- Returns:
- the new UpdateFirewallRuleOptions instance
-
xAuthUserToken
public UpdateFirewallRuleOptions.Builder xAuthUserToken(String xAuthUserToken)
Set the xAuthUserToken.- Parameters:
xAuthUserToken
- the xAuthUserToken- Returns:
- the UpdateFirewallRuleOptions builder
-
crn
public UpdateFirewallRuleOptions.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the UpdateFirewallRuleOptions builder
-
zoneIdentifier
public UpdateFirewallRuleOptions.Builder zoneIdentifier(String zoneIdentifier)
Set the zoneIdentifier.- Parameters:
zoneIdentifier
- the zoneIdentifier- Returns:
- the UpdateFirewallRuleOptions builder
-
firewallRuleIdentifier
public UpdateFirewallRuleOptions.Builder firewallRuleIdentifier(String firewallRuleIdentifier)
Set the firewallRuleIdentifier.- Parameters:
firewallRuleIdentifier
- the firewallRuleIdentifier- Returns:
- the UpdateFirewallRuleOptions builder
-
action
public UpdateFirewallRuleOptions.Builder action(String action)
Set the action.- Parameters:
action
- the action- Returns:
- the UpdateFirewallRuleOptions builder
-
paused
public UpdateFirewallRuleOptions.Builder paused(Boolean paused)
Set the paused.- Parameters:
paused
- the paused- Returns:
- the UpdateFirewallRuleOptions builder
-
description
public UpdateFirewallRuleOptions.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the UpdateFirewallRuleOptions builder
-
filter
public UpdateFirewallRuleOptions.Builder filter(FirewallRuleUpdateInputFilter filter)
Set the filter.- Parameters:
filter
- the filter- Returns:
- the UpdateFirewallRuleOptions builder
-
-