Class DeleteFirewallRuleOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.firewall_rules.v1.model.DeleteFirewallRuleOptions.Builder
-
- Enclosing class:
- DeleteFirewallRuleOptions
public static class DeleteFirewallRuleOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteFirewallRuleOptions
build()
Builds a DeleteFirewallRuleOptions.DeleteFirewallRuleOptions.Builder
crn(String crn)
Set the crn.DeleteFirewallRuleOptions.Builder
firewallRuleIdentifier(String firewallRuleIdentifier)
Set the firewallRuleIdentifier.DeleteFirewallRuleOptions.Builder
xAuthUserToken(String xAuthUserToken)
Set the xAuthUserToken.DeleteFirewallRuleOptions.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 DeleteFirewallRuleOptions build()
Builds a DeleteFirewallRuleOptions.- Returns:
- the new DeleteFirewallRuleOptions instance
-
xAuthUserToken
public DeleteFirewallRuleOptions.Builder xAuthUserToken(String xAuthUserToken)
Set the xAuthUserToken.- Parameters:
xAuthUserToken
- the xAuthUserToken- Returns:
- the DeleteFirewallRuleOptions builder
-
crn
public DeleteFirewallRuleOptions.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the DeleteFirewallRuleOptions builder
-
zoneIdentifier
public DeleteFirewallRuleOptions.Builder zoneIdentifier(String zoneIdentifier)
Set the zoneIdentifier.- Parameters:
zoneIdentifier
- the zoneIdentifier- Returns:
- the DeleteFirewallRuleOptions builder
-
firewallRuleIdentifier
public DeleteFirewallRuleOptions.Builder firewallRuleIdentifier(String firewallRuleIdentifier)
Set the firewallRuleIdentifier.- Parameters:
firewallRuleIdentifier
- the firewallRuleIdentifier- Returns:
- the DeleteFirewallRuleOptions builder
-
-