org.redhat.vmtruckloader.service
Class MachineSpecification
java.lang.Object
org.redhat.vmtruckloader.service.MachineSpecification
public class MachineSpecification
- extends Object
A simple POJO to hold the specification of a Virtual Machine.
- Author:
- Romain Pelisse - belaran@gmail.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MachineSpecification
public MachineSpecification()
MachineSpecification
public MachineSpecification(String machineName)
getVmName
public String getVmName()
addVLAN
public MachineSpecification addVLAN(String string)
addRole
public MachineSpecification addRole(String string)
addEnv
public MachineSpecification addEnv(String env)
addIpAddress
public MachineSpecification addIpAddress(String string)
addResourcePool
public MachineSpecification addResourcePool(String string)
addDatastore
public MachineSpecification addDatastore(String datastoreName)
addCpus
public MachineSpecification addCpus(int i)
addRam
public MachineSpecification addRam(int ram)
addMacAddress
public MachineSpecification addMacAddress(String macAddress)
Copyright © 2013. All Rights Reserved.