@Generated(value="software.amazon.awssdk:codegen") public final class SystemResourceLimits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SystemResourceLimits.Builder,SystemResourceLimits>
Contains information about system resource limits that the IoT Greengrass Core software applies to a component's processes. For more information, see Configure system resource limits for components.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SystemResourceLimits.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SystemResourceLimits.Builder |
builder() |
Double |
cpus()
The maximum amount of CPU time that a component's processes can use on the core device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
memory()
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SystemResourceLimits.Builder> |
serializableBuilderClass() |
SystemResourceLimits.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long memory()
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.
public final Double cpus()
The maximum amount of CPU time that a component's processes can use on the core device. A core device's total CPU
time is equivalent to the device's number of CPU cores. For example, on a core device with 4 CPU cores, you can
set this value to 2 to limit the component's processes to 50 percent usage of each CPU core. On a
device with 1 CPU core, you can set this value to 0.25 to limit the component's processes to 25
percent usage of the CPU. If you set this value to a number greater than the number of CPU cores, the IoT
Greengrass Core software doesn't limit the component's CPU usage.
2 to limit the component's processes to 50 percent
usage of each CPU core. On a device with 1 CPU core, you can set this value to 0.25 to limit
the component's processes to 25 percent usage of the CPU. If you set this value to a number greater than
the number of CPU cores, the IoT Greengrass Core software doesn't limit the component's CPU usage.public SystemResourceLimits.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SystemResourceLimits.Builder,SystemResourceLimits>public static SystemResourceLimits.Builder builder()
public static Class<? extends SystemResourceLimits.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.