Class SystemResourceLimits

java.lang.Object
software.amazon.awssdk.aws.greengrass.model.SystemResourceLimits
All Implemented Interfaces:
EventStreamJsonMessage

public class SystemResourceLimits extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • SystemResourceLimits

      public SystemResourceLimits()
  • Method Details

    • 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 interface EventStreamJsonMessage
      Returns:
      the named model type
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object