@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 |
getMemoryInMb()
The total memory usage
|
Integer |
getStartedInstances()
The number of started instances
|
int |
hashCode()
Computes a hash code from attributes:
memoryInMb, startedInstances. |
String |
toString()
Prints the immutable value
UsageSummary with attribute values. |
public Integer getMemoryInMb()
public Integer getStartedInstances()
public boolean equals(Object another)
UsageSummary that have equal attribute values.public int hashCode()
memoryInMb, startedInstances.public String toString()
UsageSummary with attribute values.public static UsageSummary.Builder builder()
UsageSummary.
UsageSummary.builder()
.memoryInMb(Integer) // required memoryInMb
.startedInstances(Integer) // required startedInstances
.build();
Copyright © 2020. All rights reserved.