public static class NovaSimpleTenantUsage.NovaServerUsage extends Object implements SimpleTenantUsage.ServerUsage
Constructor and Description |
---|
NovaServerUsage() |
Modifier and Type | Method and Description |
---|---|
Date |
getEndedAt() |
String |
getFlavor() |
double |
getHours() |
String |
getInstanceId() |
int |
getLocalDiskSize() |
int |
getMemoryMb() |
String |
getName() |
Date |
getStartedAt() |
Server.Status |
getState() |
String |
getTenantId() |
int |
getUptime() |
int |
getVcpus() |
String |
toString() |
public String getInstanceId()
getInstanceId
in interface SimpleTenantUsage.ServerUsage
public int getUptime()
getUptime
in interface SimpleTenantUsage.ServerUsage
public Date getStartedAt()
getStartedAt
in interface SimpleTenantUsage.ServerUsage
public Date getEndedAt()
getEndedAt
in interface SimpleTenantUsage.ServerUsage
public int getMemoryMb()
getMemoryMb
in interface SimpleTenantUsage.ServerUsage
public String getTenantId()
getTenantId
in interface SimpleTenantUsage.ServerUsage
public Server.Status getState()
getState
in interface SimpleTenantUsage.ServerUsage
public double getHours()
getHours
in interface SimpleTenantUsage.ServerUsage
public int getVcpus()
getVcpus
in interface SimpleTenantUsage.ServerUsage
public String getFlavor()
getFlavor
in interface SimpleTenantUsage.ServerUsage
public int getLocalDiskSize()
getLocalDiskSize
in interface SimpleTenantUsage.ServerUsage
public String getName()
getName
in interface SimpleTenantUsage.ServerUsage
Copyright © 2017. All rights reserved.