@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaContainerParams extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a container in which Lambda functions run on Greengrass core devices.
| Constructor and Description |
|---|
LambdaContainerParams() |
| Modifier and Type | Method and Description |
|---|---|
LambdaContainerParams |
clone() |
boolean |
equals(Object obj) |
List<LambdaDeviceMount> |
getDevices()
The list of system devices that the container can access.
|
Integer |
getMemorySizeInKB()
The memory size of the container, expressed in kilobytes.
|
Boolean |
getMountROSysfs()
Whether or not the container can read information from the device's
/sys folder. |
List<LambdaVolumeMount> |
getVolumes()
The list of volumes that the container can access.
|
int |
hashCode() |
Boolean |
isMountROSysfs()
Whether or not the container can read information from the device's
/sys folder. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDevices(Collection<LambdaDeviceMount> devices)
The list of system devices that the container can access.
|
void |
setMemorySizeInKB(Integer memorySizeInKB)
The memory size of the container, expressed in kilobytes.
|
void |
setMountROSysfs(Boolean mountROSysfs)
Whether or not the container can read information from the device's
/sys folder. |
void |
setVolumes(Collection<LambdaVolumeMount> volumes)
The list of volumes that the container can access.
|
String |
toString()
Returns a string representation of this object.
|
LambdaContainerParams |
withDevices(Collection<LambdaDeviceMount> devices)
The list of system devices that the container can access.
|
LambdaContainerParams |
withDevices(LambdaDeviceMount... devices)
The list of system devices that the container can access.
|
LambdaContainerParams |
withMemorySizeInKB(Integer memorySizeInKB)
The memory size of the container, expressed in kilobytes.
|
LambdaContainerParams |
withMountROSysfs(Boolean mountROSysfs)
Whether or not the container can read information from the device's
/sys folder. |
LambdaContainerParams |
withVolumes(Collection<LambdaVolumeMount> volumes)
The list of volumes that the container can access.
|
LambdaContainerParams |
withVolumes(LambdaVolumeMount... volumes)
The list of volumes that the container can access.
|
public void setMemorySizeInKB(Integer memorySizeInKB)
The memory size of the container, expressed in kilobytes.
Default: 16384 (16 MB)
memorySizeInKB - The memory size of the container, expressed in kilobytes.
Default: 16384 (16 MB)
public Integer getMemorySizeInKB()
The memory size of the container, expressed in kilobytes.
Default: 16384 (16 MB)
Default: 16384 (16 MB)
public LambdaContainerParams withMemorySizeInKB(Integer memorySizeInKB)
The memory size of the container, expressed in kilobytes.
Default: 16384 (16 MB)
memorySizeInKB - The memory size of the container, expressed in kilobytes.
Default: 16384 (16 MB)
public void setMountROSysfs(Boolean mountROSysfs)
Whether or not the container can read information from the device's /sys folder.
Default: false
mountROSysfs - Whether or not the container can read information from the device's /sys folder.
Default: false
public Boolean getMountROSysfs()
Whether or not the container can read information from the device's /sys folder.
Default: false
/sys folder.
Default: false
public LambdaContainerParams withMountROSysfs(Boolean mountROSysfs)
Whether or not the container can read information from the device's /sys folder.
Default: false
mountROSysfs - Whether or not the container can read information from the device's /sys folder.
Default: false
public Boolean isMountROSysfs()
Whether or not the container can read information from the device's /sys folder.
Default: false
/sys folder.
Default: false
public List<LambdaVolumeMount> getVolumes()
The list of volumes that the container can access.
public void setVolumes(Collection<LambdaVolumeMount> volumes)
The list of volumes that the container can access.
volumes - The list of volumes that the container can access.public LambdaContainerParams withVolumes(LambdaVolumeMount... volumes)
The list of volumes that the container can access.
NOTE: This method appends the values to the existing list (if any). Use
setVolumes(java.util.Collection) or withVolumes(java.util.Collection) if you want to override
the existing values.
volumes - The list of volumes that the container can access.public LambdaContainerParams withVolumes(Collection<LambdaVolumeMount> volumes)
The list of volumes that the container can access.
volumes - The list of volumes that the container can access.public List<LambdaDeviceMount> getDevices()
The list of system devices that the container can access.
public void setDevices(Collection<LambdaDeviceMount> devices)
The list of system devices that the container can access.
devices - The list of system devices that the container can access.public LambdaContainerParams withDevices(LambdaDeviceMount... devices)
The list of system devices that the container can access.
NOTE: This method appends the values to the existing list (if any). Use
setDevices(java.util.Collection) or withDevices(java.util.Collection) if you want to override
the existing values.
devices - The list of system devices that the container can access.public LambdaContainerParams withDevices(Collection<LambdaDeviceMount> devices)
The list of system devices that the container can access.
devices - The list of system devices that the container can access.public String toString()
toString in class ObjectObject.toString()public LambdaContainerParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.