Example usage for com.amazonaws.services.ec2.model Subnet setAvailableIpAddressCount

List of usage examples for com.amazonaws.services.ec2.model Subnet setAvailableIpAddressCount

Introduction

In this page you can find the example usage for com.amazonaws.services.ec2.model Subnet setAvailableIpAddressCount.

Prototype


public void setAvailableIpAddressCount(Integer availableIpAddressCount) 

Source Link

Document

The number of unused private IPv4 addresses in the subnet.

Usage

From source file:org.finra.dm.dao.impl.MockSubnet.java

License:Apache License

/**
 * Converts this object into an AWS equivalent object.
 * //from w w  w.ja  va  2s  .  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;
}