Package com.ibm.cloud.is.vpc.v1.model
Class SecurityGroupRuleLocal
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.SecurityGroupRuleLocal
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
SecurityGroupRuleLocalCIDR
,SecurityGroupRuleLocalIP
public class SecurityGroupRuleLocal extends com.ibm.cloud.sdk.core.service.model.GenericModel
The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of `0.0.0.0/0` allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules). Classes which extend this class: - SecurityGroupRuleLocalIP - SecurityGroupRuleLocalCIDR
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Gets the address.String
getCidrBlock()
Gets the cidrBlock.
-
-
-
Method Detail
-
getAddress
public String getAddress()
Gets the address. The IP address. This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in the future.- Returns:
- the address
-
getCidrBlock
public String getCidrBlock()
Gets the cidrBlock. The CIDR block. This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address blocks in the future.- Returns:
- the cidrBlock
-
-