Class UpdateFirewllRulesOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.firewall_rules.v1.model.UpdateFirewllRulesOptions.Builder
-
- Enclosing class:
- UpdateFirewllRulesOptions
public static class UpdateFirewllRulesOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFirewllRulesOptions.Builder
addFirewallRulesUpdateInputItem(FirewallRulesUpdateInputItem firewallRulesUpdateInputItem)
Adds an firewallRulesUpdateInputItem to firewallRulesUpdateInputItem.UpdateFirewllRulesOptions
build()
Builds a UpdateFirewllRulesOptions.UpdateFirewllRulesOptions.Builder
crn(String crn)
Set the crn.UpdateFirewllRulesOptions.Builder
firewallRulesUpdateInputItem(List<FirewallRulesUpdateInputItem> firewallRulesUpdateInputItem)
Set the firewallRulesUpdateInputItem.UpdateFirewllRulesOptions.Builder
xAuthUserToken(String xAuthUserToken)
Set the xAuthUserToken.UpdateFirewllRulesOptions.Builder
zoneIdentifier(String zoneIdentifier)
Set the zoneIdentifier.
-
-
-
Method Detail
-
build
public UpdateFirewllRulesOptions build()
Builds a UpdateFirewllRulesOptions.- Returns:
- the new UpdateFirewllRulesOptions instance
-
addFirewallRulesUpdateInputItem
public UpdateFirewllRulesOptions.Builder addFirewallRulesUpdateInputItem(FirewallRulesUpdateInputItem firewallRulesUpdateInputItem)
Adds an firewallRulesUpdateInputItem to firewallRulesUpdateInputItem.- Parameters:
firewallRulesUpdateInputItem
- the new firewallRulesUpdateInputItem- Returns:
- the UpdateFirewllRulesOptions builder
-
xAuthUserToken
public UpdateFirewllRulesOptions.Builder xAuthUserToken(String xAuthUserToken)
Set the xAuthUserToken.- Parameters:
xAuthUserToken
- the xAuthUserToken- Returns:
- the UpdateFirewllRulesOptions builder
-
crn
public UpdateFirewllRulesOptions.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the UpdateFirewllRulesOptions builder
-
zoneIdentifier
public UpdateFirewllRulesOptions.Builder zoneIdentifier(String zoneIdentifier)
Set the zoneIdentifier.- Parameters:
zoneIdentifier
- the zoneIdentifier- Returns:
- the UpdateFirewllRulesOptions builder
-
firewallRulesUpdateInputItem
public UpdateFirewllRulesOptions.Builder firewallRulesUpdateInputItem(List<FirewallRulesUpdateInputItem> firewallRulesUpdateInputItem)
Set the firewallRulesUpdateInputItem. Existing firewallRulesUpdateInputItem will be replaced.- Parameters:
firewallRulesUpdateInputItem
- the firewallRulesUpdateInputItem- Returns:
- the UpdateFirewllRulesOptions builder
-
-