Package org.jclouds.ec2.domain
Class Subnet.Builder
- java.lang.Object
-
- org.jclouds.ec2.domain.Subnet.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subnet.Builder
availabilityZone(String availabilityZone)
Subnet.Builder
availableIpAddressCount(int availableIpAddressCount)
Subnet
build()
Subnet.Builder
cidrBlock(String cidrBlock)
Subnet.Builder
from(Subnet in)
Subnet.Builder
subnetId(String subnetId)
Subnet.Builder
subnetState(Subnet.State subnetState)
Subnet.Builder
tag(String key)
Subnet.Builder
tag(String key, String value)
Subnet.Builder
tags(Map<String,String> tags)
Subnet.Builder
vpcId(String vpcId)
-
-
-
Method Detail
-
subnetId
public Subnet.Builder subnetId(String subnetId)
- See Also:
Subnet.getSubnetId()
-
subnetState
public Subnet.Builder subnetState(Subnet.State subnetState)
- See Also:
Subnet#getState()
-
vpcId
public Subnet.Builder vpcId(String vpcId)
- See Also:
Subnet.getVpcId()
-
cidrBlock
public Subnet.Builder cidrBlock(String cidrBlock)
- See Also:
Subnet.getCidrBlock()
-
availableIpAddressCount
public Subnet.Builder availableIpAddressCount(int availableIpAddressCount)
- See Also:
Subnet.getAvailableIpAddressCount()
-
availabilityZone
public Subnet.Builder availabilityZone(String availabilityZone)
- See Also:
Subnet.getAvailabilityZone()
-
tags
public Subnet.Builder tags(Map<String,String> tags)
- See Also:
Subnet.getTags()
-
tag
public Subnet.Builder tag(String key)
- See Also:
Subnet.getTags()
-
tag
public Subnet.Builder tag(String key, String value)
- See Also:
Subnet.getTags()
-
build
public Subnet build()
-
from
public Subnet.Builder from(Subnet in)
-
-