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