Package com.woorea.openstack.nova.model
Class ServerForCreate
- java.lang.Object
-
- com.woorea.openstack.nova.model.ServerForCreate
-
- All Implemented Interfaces:
Serializable
public class ServerForCreate extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerForCreate.SecurityGroup
-
Constructor Summary
Constructors Constructor Description ServerForCreate()
-
Method Summary
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getAdminPass
public String getAdminPass()
- Returns:
- the adminPass
-
setAdminPass
public void setAdminPass(String adminPass)
- Parameters:
adminPass- the adminPass to set
-
getImageRef
public String getImageRef()
- Returns:
- the imageRef
-
setImageRef
public void setImageRef(String imageRef)
- Parameters:
imageRef- the imageRef to set
-
getFlavorRef
public String getFlavorRef()
- Returns:
- the flavorRef
-
setFlavorRef
public void setFlavorRef(String flavorRef)
- Parameters:
flavorRef- the flavorRef to set
-
getAccessIPv4
public String getAccessIPv4()
- Returns:
- the accessIPv4
-
setAccessIPv4
public void setAccessIPv4(String accessIPv4)
- Parameters:
accessIPv4- the accessIPv4 to set
-
getAccessIPv6
public String getAccessIPv6()
- Returns:
- the accessIPv6
-
setAccessIPv6
public void setAccessIPv6(String accessIPv6)
- Parameters:
accessIPv6- the accessIPv6 to set
-
getMin
public Integer getMin()
- Returns:
- the min
-
setMin
public void setMin(Integer min)
- Parameters:
min- the min to set
-
getMax
public Integer getMax()
- Returns:
- the max
-
setMax
public void setMax(Integer max)
- Parameters:
max- the max to set
-
getDiskConfig
public String getDiskConfig()
- Returns:
- the diskConfig
-
setDiskConfig
public void setDiskConfig(String diskConfig)
- Parameters:
diskConfig- the diskConfig to set
-
getKeyName
public String getKeyName()
- Returns:
- the keyName
-
setKeyName
public void setKeyName(String keyName)
- Parameters:
keyName- the keyName to set
-
getPersonality
public List<PersonalityFile> getPersonality()
- Returns:
- the personality
-
setPersonality
public void setPersonality(List<PersonalityFile> personality)
- Parameters:
personality- the personality to set
-
setMetadata
public void setMetadata(Map<String,String> metadata)
- Parameters:
metadata- the metadata to set
-
getSecurityGroups
public List<ServerForCreate.SecurityGroup> getSecurityGroups()
- Returns:
- the securityGroups
-
getUserData
public String getUserData()
- Returns:
- the userData
-
setUserData
public void setUserData(String userData)
- Parameters:
userData- the userData to set
-
getAvailabilityZone
public String getAvailabilityZone()
- Returns:
- the availabilityZone
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
- Parameters:
availabilityZone- the availabilityZone to set
-
isConfigDrive
public boolean isConfigDrive()
-
setConfigDrive
public void setConfigDrive(boolean configDrive)
-
getNetworks
public List<NetworkForCreate> getNetworks()
-
setNetworks
public void setNetworks(List<NetworkForCreate> networks)
-
-