Class RunWithInfo
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.RunWithInfo
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class RunWithInfo extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static RunWithInfo
VOID
-
Constructor Summary
Constructors Constructor Description RunWithInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.String
getPosixUser()
(Optional) The POSIX system user and, optionally, group to use to run this component on Linux core devices.SystemResourceLimits
getSystemResourceLimits()
(Optional) The system resource limits to apply to this component's processes.String
getWindowsUser()
(Optional) The Windows user to use to run this component on Windows core devices.int
hashCode()
void
setPosixUser(String posixUser)
(Optional) The POSIX system user and, optionally, group to use to run this component on Linux core devices.void
setSystemResourceLimits(SystemResourceLimits systemResourceLimits)
(Optional) The system resource limits to apply to this component's processes.void
setWindowsUser(String windowsUser)
(Optional) The Windows user to use to run this component on Windows core devices.RunWithInfo
withPosixUser(String posixUser)
(Optional) The POSIX system user and, optionally, group to use to run this component on Linux core devices.RunWithInfo
withSystemResourceLimits(SystemResourceLimits systemResourceLimits)
(Optional) The system resource limits to apply to this component's processes.RunWithInfo
withWindowsUser(String windowsUser)
(Optional) The Windows user to use to run this component on Windows core devices.-
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 RunWithInfo VOID
-
-
Method Detail
-
getPosixUser
public String getPosixUser()
(Optional) The POSIX system user and, optionally, group to use to run this component on Linux core devices.
-
setPosixUser
public void setPosixUser(String posixUser)
(Optional) The POSIX system user and, optionally, group to use to run this component on Linux core devices.
-
withPosixUser
public RunWithInfo withPosixUser(String posixUser)
(Optional) The POSIX system user and, optionally, group to use to run this component on Linux core devices.
-
getWindowsUser
public String getWindowsUser()
(Optional) The Windows user to use to run this component on Windows core devices.
-
setWindowsUser
public void setWindowsUser(String windowsUser)
(Optional) The Windows user to use to run this component on Windows core devices.
-
withWindowsUser
public RunWithInfo withWindowsUser(String windowsUser)
(Optional) The Windows user to use to run this component on Windows core devices.
-
getSystemResourceLimits
public SystemResourceLimits getSystemResourceLimits()
(Optional) The system resource limits to apply to this component's processes.
-
setSystemResourceLimits
public void setSystemResourceLimits(SystemResourceLimits systemResourceLimits)
(Optional) The system resource limits to apply to this component's processes.
-
withSystemResourceLimits
public RunWithInfo withSystemResourceLimits(SystemResourceLimits systemResourceLimits)
(Optional) The system resource limits to apply to this component's processes.
-
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
-
-