Package com.ibm.cloud.is.vpc.v1.model
Class SecurityGroupRuleRemotePatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.SecurityGroupRuleRemotePatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
SecurityGroupRuleRemotePatchCIDR
,SecurityGroupRuleRemotePatchIP
,SecurityGroupRuleRemotePatchSecurityGroupIdentity
public class SecurityGroupRuleRemotePatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
The remote IP addresses or security groups from which this rule will allow traffic (or to which, for outbound rules). Can be specified as an IP address, a CIDR block, or a security group. A CIDR block of `0.0.0.0/0` will allow traffic from any source (or to any destination, for outbound rules). Classes which extend this class: - SecurityGroupRuleRemotePatchIP - SecurityGroupRuleRemotePatchCIDR - SecurityGroupRuleRemotePatchSecurityGroupIdentity
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
Gets the address.String
cidrBlock()
Gets the cidrBlock.String
crn()
Gets the crn.String
href()
Gets the href.String
id()
Gets the id.
-
-
-
Method Detail
-
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
-
id
public String id()
Gets the id. The unique identifier for this security group.- Returns:
- the id
-
crn
public String crn()
Gets the crn. The CRN for this security group.- Returns:
- the crn
-
href
public String href()
Gets the href. The URL for this security group.- Returns:
- the href
-
-