Class SecurityGroupRuleLocalPatch

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.SecurityGroupRuleLocalPatch
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Direct Known Subclasses:
SecurityGroupRuleLocalPatchCIDR, SecurityGroupRuleLocalPatchIP

public class SecurityGroupRuleLocalPatch 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). Can be specified as an IP address or a CIDR block. Specify a CIDR block of `0.0.0.0/0` to allow traffic to all local IP addresses (or from all local IP addresses, for outbound rules). Classes which extend this class: - SecurityGroupRuleLocalPatchIP - SecurityGroupRuleLocalPatchCIDR
  • 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

    • address

      public String address()
      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
    • cidrBlock

      public String cidrBlock()
      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