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

    Modifier and Type
    Method
    Description
    Gets the address.
    Gets the cidrBlock.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • 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