Class SecurityGroupRule.Builder<T extends SecurityGroupRule.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.Ingress.Builder<T>
-
- org.jclouds.openstack.nova.v2_0.domain.SecurityGroupRule.Builder<T>
-
- Enclosing class:
- SecurityGroupRule
public abstract static class SecurityGroupRule.Builder<T extends SecurityGroupRule.Builder<T>> extends Ingress.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected TenantIdAndName
group
protected String
id
protected String
ipRange
protected String
parentGroupId
-
Fields inherited from class org.jclouds.openstack.nova.v2_0.domain.Ingress.Builder
fromPort, ipProtocol, toPort
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityGroupRule
build()
T
fromSecurityGroupRule(SecurityGroupRule in)
T
group(TenantIdAndName group)
T
id(String id)
T
ipRange(String ipRange)
T
parentGroupId(String parentGroupId)
-
Methods inherited from class org.jclouds.openstack.nova.v2_0.domain.Ingress.Builder
fromIngress, fromPort, ipProtocol, self, toPort
-
-
-
-
Field Detail
-
id
protected String id
-
group
protected TenantIdAndName group
-
parentGroupId
protected String parentGroupId
-
ipRange
protected String ipRange
-
-
Method Detail
-
id
public T id(String id)
- See Also:
SecurityGroupRule.getId()
-
group
public T group(TenantIdAndName group)
- See Also:
SecurityGroupRule.getGroup()
-
parentGroupId
public T parentGroupId(String parentGroupId)
- See Also:
SecurityGroupRule.getParentGroupId()
-
ipRange
public T ipRange(String ipRange)
- See Also:
SecurityGroupRule.getIpRange()
-
build
public SecurityGroupRule build()
- Overrides:
build
in classIngress.Builder<T extends SecurityGroupRule.Builder<T>>
-
fromSecurityGroupRule
public T fromSecurityGroupRule(SecurityGroupRule in)
-
-