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