@Generated(value="software.amazon.awssdk:codegen") public final class LambdaDeviceMount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaDeviceMount.Builder,LambdaDeviceMount>
Contains information about a device that Linux processes in a container can access.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LambdaDeviceMount.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
addGroupOwner()
Whether or not to add the component's system user as an owner of the device.
|
static LambdaDeviceMount.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
path()
The mount path for the device in the file system.
|
LambdaFilesystemPermission |
permission()
The permission to access the device: read/only (
ro) or read/write (rw). |
String |
permissionAsString()
The permission to access the device: read/only (
ro) or read/write (rw). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LambdaDeviceMount.Builder> |
serializableBuilderClass() |
LambdaDeviceMount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String path()
The mount path for the device in the file system.
public final LambdaFilesystemPermission permission()
The permission to access the device: read/only (ro) or read/write (rw).
Default: ro
If the service returns an enum value that is not available in the current SDK version, permission will
return LambdaFilesystemPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from permissionAsString().
ro) or read/write (rw).
Default: ro
LambdaFilesystemPermissionpublic final String permissionAsString()
The permission to access the device: read/only (ro) or read/write (rw).
Default: ro
If the service returns an enum value that is not available in the current SDK version, permission will
return LambdaFilesystemPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from permissionAsString().
ro) or read/write (rw).
Default: ro
LambdaFilesystemPermissionpublic final Boolean addGroupOwner()
Whether or not to add the component's system user as an owner of the device.
Default: false
Default: false
public LambdaDeviceMount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LambdaDeviceMount.Builder,LambdaDeviceMount>public static LambdaDeviceMount.Builder builder()
public static Class<? extends LambdaDeviceMount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.