public void setSubnet(Subnet subnet) {
        this.subnet = subnet;
    }
<p>
Information about the subnet.
</p>

@param subnet
       Information about the subnet.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateSubnetResult.java