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