org.jclouds.cloudstack.domain
Class IngressRule.Builder<T extends IngressRule.Builder<T>>

java.lang.Object
  extended by org.jclouds.cloudstack.domain.IngressRule.Builder<T>
Enclosing class:
IngressRule

public abstract static class IngressRule.Builder<T extends IngressRule.Builder<T>>
extends Object


Field Summary
protected  String account
           
protected  String CIDR
           
protected  int endPort
           
protected  int ICMPCode
           
protected  int ICMPType
           
protected  String id
           
protected  String protocol
           
protected  String securityGroupName
           
protected  int startPort
           
 
Constructor Summary
IngressRule.Builder()
           
 
Method Summary
 T account(String account)
           
 IngressRule build()
           
 T CIDR(String CIDR)
           
 T endPort(int endPort)
           
 T fromIngressRule(IngressRule in)
           
 T ICMPCode(int ICMPCode)
           
 T ICMPType(int ICMPType)
           
 T id(String id)
           
 T protocol(String protocol)
           
 T securityGroupName(String securityGroupName)
           
protected abstract  T self()
           
 T startPort(int startPort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

account

protected String account

CIDR

protected String CIDR

endPort

protected int endPort

ICMPCode

protected int ICMPCode

ICMPType

protected int ICMPType

protocol

protected String protocol

id

protected String id

securityGroupName

protected String securityGroupName

startPort

protected int startPort
Constructor Detail

IngressRule.Builder

public IngressRule.Builder()
Method Detail

self

protected abstract T self()

account

public T account(String account)
See Also:
IngressRule.getAccount()

CIDR

public T CIDR(String CIDR)
See Also:
IngressRule.getCIDR()

endPort

public T endPort(int endPort)
See Also:
IngressRule.getEndPort()

ICMPCode

public T ICMPCode(int ICMPCode)
See Also:
IngressRule.getICMPCode()

ICMPType

public T ICMPType(int ICMPType)
See Also:
IngressRule.getICMPType()

protocol

public T protocol(String protocol)
See Also:
IngressRule.getProtocol()

id

public T id(String id)
See Also:
IngressRule.getId()

securityGroupName

public T securityGroupName(String securityGroupName)
See Also:
IngressRule.getSecurityGroupName()

startPort

public T startPort(int startPort)
See Also:
IngressRule.getStartPort()

build

public IngressRule build()

fromIngressRule

public T fromIngressRule(IngressRule in)


Copyright © 2009-2013 jclouds. All Rights Reserved.