org.jclouds.openstack.nova.v2_0.domain
Class SecurityGroupRule.Builder<T extends SecurityGroupRule.Builder<T>>

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.Ingress.Builder<T>
      extended by 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
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
SecurityGroupRule.Builder()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

group

protected TenantIdAndName group

parentGroupId

protected String parentGroupId

ipRange

protected String ipRange
Constructor Detail

SecurityGroupRule.Builder

public SecurityGroupRule.Builder()
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 class Ingress.Builder<T extends SecurityGroupRule.Builder<T>>

fromSecurityGroupRule

public T fromSecurityGroupRule(SecurityGroupRule in)


Copyright © 2009-2012 jclouds. All Rights Reserved.