public abstract static class SubnetGroup.Builder<T extends SubnetGroup.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
SubnetGroup.Builder() |
Modifier and Type | Method and Description |
---|---|
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) |
protected String name
protected String description
protected String status
protected com.google.common.collect.ImmutableSet.Builder<Subnet> subnets
protected com.google.common.base.Optional<String> vpcId
protected abstract T self()
public T name(String name)
SubnetGroup.getName()
public T description(String description)
SubnetGroup.getDescription()
public T status(String status)
SubnetGroup.getStatus()
public T vpcId(String vpcId)
SubnetGroup.getVpcId()
public SubnetGroup build()
public T fromSubnetGroup(SubnetGroup in)
Copyright © 2009-2013 jclouds. All Rights Reserved.