@Generated(value="software.amazon.awssdk:codegen") public final class LambdaVolumeMount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaVolumeMount.Builder,LambdaVolumeMount>
Contains information about a volume that Linux processes in a container can access. When you define a volume, the IoT Greengrass Core software mounts the source files to the destination inside the container.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LambdaVolumeMount.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
addGroupOwner()
Whether or not to add the IoT Greengrass user group as an owner of the volume.
|
static LambdaVolumeMount.Builder |
builder() |
String |
destinationPath()
The path to the logical volume in the file system.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LambdaFilesystemPermission |
permission()
The permission to access the volume: read/only (
ro) or read/write (rw). |
String |
permissionAsString()
The permission to access the volume: read/only (
ro) or read/write (rw). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LambdaVolumeMount.Builder> |
serializableBuilderClass() |
String |
sourcePath()
The path to the physical volume in the file system.
|
LambdaVolumeMount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String sourcePath()
The path to the physical volume in the file system.
public final String destinationPath()
The path to the logical volume in the file system.
public final LambdaFilesystemPermission permission()
The permission to access the volume: 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 volume: 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 IoT Greengrass user group as an owner of the volume.
Default: false
Default: false
public LambdaVolumeMount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LambdaVolumeMount.Builder,LambdaVolumeMount>public static LambdaVolumeMount.Builder builder()
public static Class<? extends LambdaVolumeMount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.