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

org.openstack4j.model.compute.builder.FlavorBuilder Maven / Gradle / Ivy

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

import org.openstack4j.common.Buildable.Builder;
import org.openstack4j.model.compute.Flavor;

/**
 * Builder for a Flavor model class
 * 
 * @author Jeremy Unruh
 */
public interface FlavorBuilder extends Builder {

	/**
	 * @see Flavor#getName()
	 */
	FlavorBuilder name(String name);
	
	/**
	 * @see Flavor#getRam()
	 */
	FlavorBuilder ram(int ram);
	
	/**
	 * @see Flavor#getVcpus()
	 */
	FlavorBuilder vcpus(int vcpus);
	
	/**
	 * @see Flavor#getDisk()
	 */
	FlavorBuilder disk(int disk);
	
	/**
	 * @see Flavor#getSwap()
	 */
	FlavorBuilder swap(int swap);
	
	/**
	 * @see Flavor#getRxtxFactor();
	 */
	FlavorBuilder rxtxFactor(float rxtxFactor);

	/**
	 * @see Flavor#isPublic()
	 */
	FlavorBuilder isPublic(boolean isPublic);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy