Class NetworkACLRule
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.NetworkACLRule
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
NetworkACLRuleNetworkACLRuleProtocolAll
,NetworkACLRuleNetworkACLRuleProtocolICMP
,NetworkACLRuleNetworkACLRuleProtocolTCPUDP
public class NetworkACLRule
extends com.ibm.cloud.sdk.core.service.model.GenericModel
NetworkACLRule.
Classes which extend this class:
- NetworkACLRuleNetworkACLRuleProtocolTCPUDP
- NetworkACLRuleNetworkACLRuleProtocolICMP
- NetworkACLRuleNetworkACLRuleProtocolAll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The action to perform for a packet matching the rule.static interface
The direction of traffic to match.static interface
The IP version for this rule.static interface
The network protocol. -
Method Summary
Modifier and TypeMethodDescriptionGets the action.Gets the before.getCode()
Gets the code.Gets the createdAt.Gets the destination.Gets the destinationPortMax.Gets the destinationPortMin.Gets the direction.getHref()
Gets the href.getId()
Gets the id.Gets the ipVersion.getName()
Gets the name.Gets the protocol.Gets the source.Gets the sourcePortMax.Gets the sourcePortMin.getType()
Gets the type.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getAction
Gets the action. The action to perform for a packet matching the rule.- Returns:
- the action
-
getBefore
Gets the before. The rule that this rule is immediately before. If absent, this is the last rule.- Returns:
- the before
-
getCreatedAt
Gets the createdAt. The date and time that the rule was created.- Returns:
- the createdAt
-
getDestination
Gets the destination. The destination IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all destination addresses.- Returns:
- the destination
-
getDirection
Gets the direction. The direction of traffic to match.- Returns:
- the direction
-
getHref
-
getId
-
getIpVersion
Gets the ipVersion. The IP version for this rule.- Returns:
- the ipVersion
-
getName
Gets the name. The name for this network ACL rule. The name is unique across all rules for the network ACL.- Returns:
- the name
-
getProtocol
-
getSource
Gets the source. The source IP address or CIDR block to match. The CIDR block `0.0.0.0/0` matches all source addresses.- Returns:
- the source
-
getDestinationPortMax
Gets the destinationPortMax. The inclusive upper bound of TCP/UDP destination port range.- Returns:
- the destinationPortMax
-
getDestinationPortMin
Gets the destinationPortMin. The inclusive lower bound of TCP/UDP destination port range.- Returns:
- the destinationPortMin
-
getSourcePortMax
Gets the sourcePortMax. The inclusive upper bound of TCP/UDP source port range.- Returns:
- the sourcePortMax
-
getSourcePortMin
Gets the sourcePortMin. The inclusive lower bound of TCP/UDP source port range.- Returns:
- the sourcePortMin
-
getCode
Gets the code. The ICMP traffic code to match. If absent, all codes are matched.- Returns:
- the code
-
getType
Gets the type. The ICMP traffic type to match. If absent, all types are matched.- Returns:
- the type
-