@Generated(value="org.immutables.processor.ProxyProcessor") public final class UsageSummary extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UsageSummary.Builder
Builds instances of type
UsageSummary. |
| Modifier and Type | Method and Description |
|---|---|
static UsageSummary.Builder |
builder()
Creates a builder for
UsageSummary. |
boolean |
equals(Object another)
This instance is equal to all instances of
UsageSummary that have equal attribute values. |
Integer |
getDomains()
The number of domains
|
Integer |
getMemoryInMb()
The total memory usage
|
Integer |
getPerAppTasks()
The number of tasks per app
|
Integer |
getReservedPorts()
The number of reserved ports
|
Integer |
getRoutes()
The number of routes
|
Integer |
getServiceInstances()
The number of service instances
|
Integer |
getServiceKeys()
The number of service keys
|
Integer |
getStartedInstances()
The number of started instances
|
int |
hashCode()
Computes a hash code from attributes:
memoryInMb, startedInstances, routes, serviceInstances, reservedPorts, domains, perAppTasks, serviceKeys. |
String |
toString()
Prints the immutable value
UsageSummary with attribute values. |
public Integer getMemoryInMb()
public Integer getStartedInstances()
public Integer getRoutes()
public Integer getServiceInstances()
public Integer getReservedPorts()
public Integer getDomains()
public Integer getPerAppTasks()
public Integer getServiceKeys()
public boolean equals(Object another)
UsageSummary that have equal attribute values.public int hashCode()
memoryInMb, startedInstances, routes, serviceInstances, reservedPorts, domains, perAppTasks, serviceKeys.public String toString()
UsageSummary with attribute values.public static UsageSummary.Builder builder()
UsageSummary.
UsageSummary.builder()
.memoryInMb(Integer) // required memoryInMb
.startedInstances(Integer) // required startedInstances
.routes(Integer | null) // nullable routes
.serviceInstances(Integer | null) // nullable serviceInstances
.reservedPorts(Integer | null) // nullable reservedPorts
.domains(Integer | null) // nullable domains
.perAppTasks(Integer | null) // nullable perAppTasks
.serviceKeys(Integer | null) // nullable serviceKeys
.build();
Copyright © 2026. All rights reserved.