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.GenericModel
The 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 String
getAddress()
Gets the address.String
getCidrBlock()
Gets the cidrBlock.String
getCrn()
Gets the crn.Deleted
getDeleted()
Gets the deleted.String
getHref()
Gets the href.String
getId()
Gets the id.String
getName()
Gets the name.
-
-
-
Method Detail
-
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
-
getCrn
public String getCrn()
Gets the crn. The CRN for this security group.- Returns:
- the crn
-
getDeleted
public Deleted 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 URL for this security group.- 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
-
-