Package com.ibm.cloud.is.vpc.v1.model
Class SecurityGroupRuleRemote
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.SecurityGroupRuleRemote
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
SecurityGroupRuleRemoteCIDR,SecurityGroupRuleRemoteIP,SecurityGroupRuleRemoteSecurityGroupReference
public class SecurityGroupRuleRemote extends com.ibm.cloud.sdk.core.service.model.GenericModelThe remote IP addresses or security groups from which this rule allows traffic (or to which, for outbound rules). A CIDR block of `0.0.0.0/0` allows traffic from any source (or to any destination, for outbound rules). Classes which extend this class: - SecurityGroupRuleRemoteIP - SecurityGroupRuleRemoteCIDR - SecurityGroupRuleRemoteSecurityGroupReference
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()Gets the address.StringgetCidrBlock()Gets the cidrBlock.StringgetCrn()Gets the crn.SecurityGroupReferenceDeletedgetDeleted()Gets the deleted.StringgetHref()Gets the href.StringgetId()Gets the id.StringgetName()Gets the name.
-
-
-
Method Detail
-
getAddress
public String getAddress()
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
-
getCidrBlock
public String getCidrBlock()
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
-
getCrn
public String getCrn()
Gets the crn. The security group's CRN.- Returns:
- the crn
-
getDeleted
public SecurityGroupReferenceDeleted getDeleted()
Gets the deleted. If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.- Returns:
- the deleted
-
getHref
public String getHref()
Gets the href. The security group's canonical URL.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this security group.- Returns:
- the id
-
getName
public String getName()
Gets the name. The name for this security group. The name is unique across all security groups for the VPC.- Returns:
- the name
-
-