public class ResourcesRepresentation extends AbstractExtensibleRepresentation
Modifier and Type | Class and Description |
---|---|
static class |
ResourcesRepresentation.ResourcesRepresentationBuilder |
Constructor and Description |
---|
ResourcesRepresentation() |
ResourcesRepresentation(String cpu,
String memory) |
Modifier and Type | Method and Description |
---|---|
static ResourcesRepresentation.ResourcesRepresentationBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCpu() |
String |
getMemory() |
int |
hashCode() |
void |
setCpu(String cpu) |
void |
setMemory(String memory) |
String |
toString() |
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
getSelf, getSelfDecoded, setSelf, toJSON
public static ResourcesRepresentation.ResourcesRepresentationBuilder builder()
public void setCpu(String cpu)
public void setMemory(String memory)
protected boolean canEqual(Object other)
public String toString()
toString
in class BaseResourceRepresentation
@JSONProperty(ignoreIfNull=true) public String getCpu()
@JSONProperty(ignoreIfNull=true) public String getMemory()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.