Interface SystemResourceLimits.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<SystemResourceLimits.Builder,,SystemResourceLimits> SdkBuilder<SystemResourceLimits.Builder,,SystemResourceLimits> SdkPojo
- Enclosing class:
 SystemResourceLimits
public static interface SystemResourceLimits.Builder
extends SdkPojo, CopyableBuilder<SystemResourceLimits.Builder,SystemResourceLimits> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe maximum amount of CPU time that a component's processes can use on the core device.The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
memory
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.
- Parameters:
 memory- The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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
2to 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 to0.25to 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.- Parameters:
 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 to2to 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 to0.25to 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.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -