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.GenericModelThe updateFirewallRule options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateFirewallRuleOptions.ActionThe firewall action to perform, "log" action is only available for enterprise plan instances.static classUpdateFirewallRuleOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaction()Gets the action.Stringcrn()Gets the crn.Stringdescription()Gets the description.FirewallRuleUpdateInputFilterfilter()Gets the filter.StringfirewallRuleIdentifier()Gets the firewallRuleIdentifier.UpdateFirewallRuleOptions.BuildernewBuilder()New builder.Booleanpaused()Gets the paused.StringxAuthUserToken()Gets the xAuthUserToken.StringzoneIdentifier()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
-
-