Class ZoneAccessRuleObject
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.zone_firewall_access_rules.v1.model.ZoneAccessRuleObject
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ZoneAccessRuleObject extends com.ibm.cloud.sdk.core.service.model.GenericModel
access rule object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ZoneAccessRuleObject.AllowedModes
static interface
ZoneAccessRuleObject.Mode
The action to be applied to a request matching the access rule.
-
Constructor Summary
Constructors Constructor Description ZoneAccessRuleObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAllowedModes()
Gets the allowedModes.ZoneAccessRuleObjectConfiguration
getConfiguration()
Gets the configuration.String
getCreatedOn()
Gets the createdOn.String
getId()
Gets the id.String
getMode()
Gets the mode.String
getModifiedOn()
Gets the modifiedOn.String
getNotes()
Gets the notes.ZoneAccessRuleObjectScope
getScope()
Gets the scope.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Identifier of the firewall access rule.- Returns:
- the id
-
getNotes
public String getNotes()
Gets the notes. A personal note about the rule. Typically used as a reminder or explanation for the rule.- Returns:
- the notes
-
getAllowedModes
public List<String> getAllowedModes()
Gets the allowedModes. List of modes that are allowed.- Returns:
- the allowedModes
-
getMode
public String getMode()
Gets the mode. The action to be applied to a request matching the access rule.- Returns:
- the mode
-
getScope
public ZoneAccessRuleObjectScope getScope()
Gets the scope. The scope definition of the access rule.- Returns:
- the scope
-
getCreatedOn
public String getCreatedOn()
Gets the createdOn. The creation date-time of the firewall access rule.- Returns:
- the createdOn
-
getModifiedOn
public String getModifiedOn()
Gets the modifiedOn. The modification date-time of the firewall access rule.- Returns:
- the modifiedOn
-
getConfiguration
public ZoneAccessRuleObjectConfiguration getConfiguration()
Gets the configuration. configuration.- Returns:
- the configuration
-
-