Class CreateFirewallRulesOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.firewall_rules.v1.model.CreateFirewallRulesOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateFirewallRulesOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createFirewallRules options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateFirewallRulesOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
crn()
Gets the crn.List<FirewallRuleInputWithFilterId>
firewallRuleInputWithFilterId()
Gets the firewallRuleInputWithFilterId.CreateFirewallRulesOptions.Builder
newBuilder()
New builder.String
xAuthUserToken()
Gets the xAuthUserToken.String
zoneIdentifier()
Gets the zoneIdentifier.
-
-
-
Method Detail
-
newBuilder
public CreateFirewallRulesOptions.Builder newBuilder()
New builder.- Returns:
- a CreateFirewallRulesOptions builder
-
xAuthUserToken
public String xAuthUserToken()
Gets the xAuthUserToken. IBM Cloud user IAM token.- Returns:
- the xAuthUserToken
-
crn
public String crn()
Gets the crn. Full url-encoded cloud resource name (CRN) of resource instance.- Returns:
- the crn
-
zoneIdentifier
public String zoneIdentifier()
Gets the zoneIdentifier. Zone identifier of the zone for which firewall rules are created.- Returns:
- the zoneIdentifier
-
firewallRuleInputWithFilterId
public List<FirewallRuleInputWithFilterId> firewallRuleInputWithFilterId()
Gets the firewallRuleInputWithFilterId. Json objects which are used to create firewall rules.- Returns:
- the firewallRuleInputWithFilterId
-
-