org.jclouds.rds.domain
Class SubnetGroup.Builder<T extends SubnetGroup.Builder<T>>

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

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


Field Summary
protected  String description
           
protected  String name
           
protected  String status
           
protected  com.google.common.collect.ImmutableSet.Builder<Subnet> subnets
           
protected  com.google.common.base.Optional<String> vpcId
           
 
Constructor Summary
SubnetGroup.Builder()
           
 
Method Summary
 SubnetGroup build()
           
 T description(String description)
           
 T fromSubnetGroup(SubnetGroup in)
           
 T name(String name)
           
protected abstract  T self()
           
 T status(String status)
           
 T subnet(Subnet subnet)
           
 T subnets(Iterable<Subnet> subnets)
           
 T vpcId(String vpcId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

description

protected String description

status

protected String status

subnets

protected com.google.common.collect.ImmutableSet.Builder<Subnet> subnets

vpcId

protected com.google.common.base.Optional<String> vpcId
Constructor Detail

SubnetGroup.Builder

public SubnetGroup.Builder()
Method Detail

self

protected abstract T self()

name

public T name(String name)
See Also:
SubnetGroup.getName()

description

public T description(String description)
See Also:
SubnetGroup.getDescription()

status

public T status(String status)
See Also:
SubnetGroup.getStatus()

subnets

public T subnets(Iterable<Subnet> subnets)
See Also:
Instance#getSubnets()

subnet

public T subnet(Subnet subnet)
See Also:
Instance#getSubnets()

vpcId

public T vpcId(String vpcId)
See Also:
SubnetGroup.getVpcId()

build

public SubnetGroup build()

fromSubnetGroup

public T fromSubnetGroup(SubnetGroup in)


Copyright © 2009-2012 jclouds. All Rights Reserved.