public class SimpleTenantUsage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SimpleTenantUsage.Builder<T extends SimpleTenantUsage.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
SimpleTenantUsage(String tenantId,
double totalLocalGbUsage,
double totalVcpusUsage,
double totalMemoryMbUsage,
double totalHours,
Date start,
Date stop,
Set<SimpleServerUsage> serverUsages) |
Modifier and Type | Method and Description |
---|---|
static SimpleTenantUsage.Builder<?> |
builder() |
boolean |
equals(Object obj) |
Set<SimpleServerUsage> |
getServerUsages() |
Date |
getStart() |
Date |
getStop() |
String |
getTenantId() |
double |
getTotalHours() |
double |
getTotalLocalGbUsage() |
double |
getTotalMemoryMbUsage() |
double |
getTotalVcpusUsage() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
SimpleTenantUsage.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"tenant_id","total_local_gb_usage","total_vcpus_usage","total_memory_mb_usage","total_hours","start","stop","server_usages"}) protected SimpleTenantUsage(String tenantId, double totalLocalGbUsage, double totalVcpusUsage, double totalMemoryMbUsage, double totalHours, @Nullable Date start, @Nullable Date stop, @Nullable Set<SimpleServerUsage> serverUsages)
public static SimpleTenantUsage.Builder<?> builder()
public SimpleTenantUsage.Builder<?> toBuilder()
public String getTenantId()
public double getTotalLocalGbUsage()
public double getTotalVcpusUsage()
public double getTotalMemoryMbUsage()
public double getTotalHours()
public Set<SimpleServerUsage> getServerUsages()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.