Class SecurityGroupRule
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.Ingress
-
- org.jclouds.openstack.nova.v2_0.domain.SecurityGroupRule
-
public class SecurityGroupRule extends Ingress
Defines a security group rule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityGroupRule.Builder<T extends SecurityGroupRule.Builder<T>>
static class
SecurityGroupRule.Cidr
-
Constructor Summary
Constructors Modifier Constructor Description protected
SecurityGroupRule(IpProtocol ipProtocol, int fromPort, int toPort, String id, TenantIdAndName group, String parentGroupId, SecurityGroupRule.Cidr ipRange)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityGroupRule.Builder<?>
builder()
boolean
equals(Object obj)
TenantIdAndName
getGroup()
String
getId()
String
getIpRange()
String
getParentGroupId()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
SecurityGroupRule.Builder<?>
toBuilder()
-
Methods inherited from class org.jclouds.openstack.nova.v2_0.domain.Ingress
getFromPort, getIpProtocol, getToPort, toString
-
-
-
-
Constructor Detail
-
SecurityGroupRule
@ConstructorProperties({"ip_protocol","from_port","to_port","id","group","parent_group_id","ip_range"}) protected SecurityGroupRule(IpProtocol ipProtocol, int fromPort, int toPort, String id, @Nullable TenantIdAndName group, String parentGroupId, @Nullable SecurityGroupRule.Cidr ipRange)
-
-
Method Detail
-
builder
public static SecurityGroupRule.Builder<?> builder()
-
toBuilder
public SecurityGroupRule.Builder<?> toBuilder()
-
getId
public String getId()
-
getGroup
@Nullable public TenantIdAndName getGroup()
-
getParentGroupId
public String getParentGroupId()
-
-