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 add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.- Returns:
- the address
-
cidrBlock
public String cidrBlock()
Gets the cidrBlock. The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.- 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 security group's CRN.- Returns:
- the crn
-
href
public String href()
Gets the href. The security group's canonical URL.- Returns:
- the href
-
-