@Generated(value="org.immutables.processor.ProxyProcessor") public final class ProcessUsage extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessUsage.Builder
Builds instances of type
ProcessUsage. |
| Modifier and Type | Method and Description |
|---|---|
static ProcessUsage.Builder |
builder()
Creates a builder for
ProcessUsage. |
boolean |
equals(Object another)
This instance is equal to all instances of
ProcessUsage that have equal attribute values. |
Double |
getCpu()
The CPU
|
Integer |
getDisk()
The disk
|
Integer |
getMemory()
The memory
|
String |
getTime()
The time
|
int |
hashCode()
Computes a hash code from attributes:
cpu, disk, memory, time. |
String |
toString()
Prints the immutable value
ProcessUsage with attribute values. |
public Double getCpu()
public Integer getDisk()
public Integer getMemory()
public String getTime()
public boolean equals(Object another)
ProcessUsage that have equal attribute values.public int hashCode()
cpu, disk, memory, time.public String toString()
ProcessUsage with attribute values.public static ProcessUsage.Builder builder()
ProcessUsage.
ProcessUsage.builder()
.cpu(Double) // required cpu
.disk(Integer) // required disk
.memory(Integer) // required memory
.time(String) // required time
.build();
Copyright © 2020. All rights reserved.