Class ServerDetails

java.lang.Object
org.jclouds.glesys.domain.Server
org.jclouds.glesys.domain.ServerDetails

public class ServerDetails extends Server
Detailed information about a server such as cpuCores, hardware configuration (cpu, memory and disk), ip addresses, cost, transfer, os and more.
See Also:
  • Constructor Details

  • Method Details

    • builder

      public static ServerDetails.Builder<?> builder()
    • toBuilder

      public ServerDetails.Builder<?> toBuilder()
      Overrides:
      toBuilder in class Server
    • getState

      public Server.State getState()
      Returns:
      the state of the server (e.g. "running")
    • getDescription

      public String getDescription()
      Returns:
      the user-specified description of the server
    • getTemplateName

      public String getTemplateName()
      Returns:
      the name of the template used to create the server
    • getCpuCores

      public int getCpuCores()
      Returns:
      number of cores on the server
    • getMemorySizeMB

      public int getMemorySizeMB()
      Returns:
      the memory of the server in MB
    • getDiskSizeGB

      public int getDiskSizeGB()
      Returns:
      the disk of the server in GB
    • getTransferGB

      public int getTransferGB()
      Returns:
      the transfer of the server
    • getCost

      public Cost getCost()
      Returns:
      details of the cost of the server
    • getIps

      public Set<Ip> getIps()
      Returns:
      the ip addresses assigned to the server
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
      Overrides:
      string in class Server