All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.compute.Addresses Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.model.compute;

import java.util.List;
import java.util.Map;

import org.openstack4j.model.ModelEntity;

/**
 * A container which holds networks with 1 or more addresses
 * 
 * @author Jeremy Unruh
 */
public interface Addresses extends ModelEntity {

	/**
	 * Adds an address to the given network type
	 *
	 * @param key the type of address classification
	 * @param value of the address
	 */
	void add(String key, Address value);
	
	/**
	 * @return the a Map 
	 */
	Map> getAddresses();
	
	/**
	 * Gets the addresses associated with the given network type
	 *
	 * @param type the type of network
	 * @return the List of Addresses
	 */
	List getAddresses(String type);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy