Class SystemResourceLimits
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.SystemResourceLimits
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class SystemResourceLimits extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static SystemResourceLimits
VOID
-
Constructor Summary
Constructors Constructor Description SystemResourceLimits()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.Double
getCpus()
(Optional) The maximum amount of CPU time that this component's processes can use on the core device.Long
getMemory()
(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.int
hashCode()
void
setCpus(Double cpus)
(Optional) The maximum amount of CPU time that this component's processes can use on the core device.void
setMemory(Long memory)
(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.SystemResourceLimits
withCpus(Double cpus)
(Optional) The maximum amount of CPU time that this component's processes can use on the core device.SystemResourceLimits
withMemory(Long memory)
(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final SystemResourceLimits VOID
-
-
Method Detail
-
getMemory
public Long getMemory()
(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.
-
setMemory
public void setMemory(Long memory)
(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.
-
withMemory
public SystemResourceLimits withMemory(Long memory)
(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.
-
getCpus
public Double getCpus()
(Optional) The maximum amount of CPU time that this component's processes can use on the core device.
-
setCpus
public void setCpus(Double cpus)
(Optional) The maximum amount of CPU time that this component's processes can use on the core device.
-
withCpus
public SystemResourceLimits withCpus(Double cpus)
(Optional) The maximum amount of CPU time that this component's processes can use on the core device.
-
getApplicationModelType
public String getApplicationModelType()
Description copied from interface:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-