List of usage examples for com.amazonaws.services.ec2.model Subnet setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
The Availability Zone of the subnet.
From source file:org.finra.dm.dao.impl.MockSubnet.java
License:Apache License
/** * Converts this object into an AWS equivalent object. * /*w w w.j av a 2 s .c om*/ * @return A new equivalent AWS object */ public Subnet toAwsObject() { Subnet subnet = new Subnet(); subnet.setSubnetId(subnetId); subnet.setAvailabilityZone(availabilityZone); subnet.setAvailableIpAddressCount(availableIpAddressCount); return subnet; }