org.jclouds.glesys.domain
Class AllowedArgumentsForCreateServer
java.lang.Object
org.jclouds.glesys.domain.AllowedArgumentsForCreateServer
public class AllowedArgumentsForCreateServer
- extends Object
Sets the allowed arguments for some of the functions in this module such as disksize, cpucores etc.
- Author:
- Adam Lowe
- See Also:
AllowedArgumentsForCreateServer
public AllowedArgumentsForCreateServer(Set<Integer> diskSizes,
Set<Integer> memorySizes,
Set<Integer> cpuCores,
Set<String> templates,
Set<Integer> transfers,
Set<String> dataCenters)
builder
public static AllowedArgumentsForCreateServer.Builder builder()
getDiskSizesInGB
public Set<Integer> getDiskSizesInGB()
- Returns:
- a list of disk sizes, in GB, that can be used for creating servers on this platform
- See Also:
OSTemplate.getMinDiskSize()
getMemorySizesInMB
public Set<Integer> getMemorySizesInMB()
- Returns:
- a list of memory sizes, in MB, that can be used for creating servers on this platform
- See Also:
OSTemplate.getMinMemSize()
getCpuCoreOptions
public Set<Integer> getCpuCoreOptions()
- Returns:
- a list of which core counts can be used for creating servers on this platform
getTemplateNames
public Set<String> getTemplateNames()
- Returns:
- a list of template names available for creating servers on this platform
- See Also:
OSTemplate.getName()
getTransfersInGB
public Set<Integer> getTransfersInGB()
- Returns:
- the list of transfer settings available for creating servers on this platform
getDataCenters
public Set<String> getDataCenters()
- Returns:
- the list of datacenters available that support creating servers on this platform
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.