@Generated(value="software.amazon.awssdk:codegen") public final class LambdaContainerParams extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaContainerParams.Builder,LambdaContainerParams>
Contains information about a container in which Lambda functions run on Greengrass core devices.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LambdaContainerParams.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LambdaContainerParams.Builder |
builder() |
List<LambdaDeviceMount> |
devices()
The list of system devices that the container can access.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDevices()
For responses, this returns true if the service returned a value for the Devices property.
|
int |
hashCode() |
boolean |
hasVolumes()
For responses, this returns true if the service returned a value for the Volumes property.
|
Integer |
memorySizeInKB()
The memory size of the container, expressed in kilobytes.
|
Boolean |
mountROSysfs()
Whether or not the container can read information from the device's
/sys folder. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LambdaContainerParams.Builder> |
serializableBuilderClass() |
LambdaContainerParams.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<LambdaVolumeMount> |
volumes()
The list of volumes that the container can access.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer memorySizeInKB()
The memory size of the container, expressed in kilobytes.
Default: 16384 (16 MB)
Default: 16384 (16 MB)
public final Boolean mountROSysfs()
Whether or not the container can read information from the device's /sys folder.
Default: false
/sys folder.
Default: false
public final boolean hasVolumes()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<LambdaVolumeMount> volumes()
The list of volumes that the container can access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasVolumes() method.
public final boolean hasDevices()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<LambdaDeviceMount> devices()
The list of system devices that the container can access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDevices() method.
public LambdaContainerParams.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LambdaContainerParams.Builder,LambdaContainerParams>public static LambdaContainerParams.Builder builder()
public static Class<? extends LambdaContainerParams.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.