Class UpdateFirewallRuleOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.firewall_rules.v1.model.UpdateFirewallRuleOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateFirewallRuleOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateFirewallRule options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateFirewallRuleOptions.Action
The firewall action to perform, "log" action is only available for enterprise plan instances.static class
UpdateFirewallRuleOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
action()
Gets the action.String
crn()
Gets the crn.String
description()
Gets the description.FirewallRuleUpdateInputFilter
filter()
Gets the filter.String
firewallRuleIdentifier()
Gets the firewallRuleIdentifier.UpdateFirewallRuleOptions.Builder
newBuilder()
New builder.Boolean
paused()
Gets the paused.String
xAuthUserToken()
Gets the xAuthUserToken.String
zoneIdentifier()
Gets the zoneIdentifier.
-
-
-
Method Detail
-
newBuilder
public UpdateFirewallRuleOptions.Builder newBuilder()
New builder.- Returns:
- a UpdateFirewallRuleOptions builder
-
xAuthUserToken
public String xAuthUserToken()
Gets the xAuthUserToken. IBM Cloud user IAM token.- Returns:
- the xAuthUserToken
-
crn
public String crn()
Gets the crn. Full crn of the service instance.- Returns:
- the crn
-
zoneIdentifier
public String zoneIdentifier()
Gets the zoneIdentifier. Zone identifier (zone id).- Returns:
- the zoneIdentifier
-
firewallRuleIdentifier
public String firewallRuleIdentifier()
Gets the firewallRuleIdentifier. Identifier of firewall rule.- Returns:
- the firewallRuleIdentifier
-
action
public String action()
Gets the action. The firewall action to perform, "log" action is only available for enterprise plan instances.- Returns:
- the action
-
paused
public Boolean paused()
Gets the paused. Indicates if the firewall rule is active.- Returns:
- the paused
-
description
public String description()
Gets the description. To briefly describe the firewall rule, omitted from object if empty.- Returns:
- the description
-
filter
public FirewallRuleUpdateInputFilter filter()
Gets the filter. An existing filter.- Returns:
- the filter
-
-