Class LambdaVolumeMount
- java.lang.Object
-
- software.amazon.awssdk.services.greengrassv2.model.LambdaVolumeMount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LambdaVolumeMount.Builder,LambdaVolumeMount>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLambdaVolumeMount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanaddGroupOwner()Whether or not to add the IoT Greengrass user group as an owner of the volume.static LambdaVolumeMount.Builderbuilder()StringdestinationPath()The path to the logical volume in the file system.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LambdaFilesystemPermissionpermission()The permission to access the volume: read/only (ro) or read/write (rw).StringpermissionAsString()The permission to access the volume: read/only (ro) or read/write (rw).List<SdkField<?>>sdkFields()static Class<? extends LambdaVolumeMount.Builder>serializableBuilderClass()StringsourcePath()The path to the physical volume in the file system.LambdaVolumeMount.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourcePath
public final String sourcePath()
The path to the physical volume in the file system.
- Returns:
- The path to the physical volume in the file system.
-
destinationPath
public final String destinationPath()
The path to the logical volume in the file system.
- Returns:
- The path to the logical volume in the file system.
-
permission
public final LambdaFilesystemPermission permission()
The permission to access the volume: read/only (
ro) or read/write (rw).Default:
roIf the service returns an enum value that is not available in the current SDK version,
permissionwill returnLambdaFilesystemPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- The permission to access the volume: read/only (
ro) or read/write (rw).Default:
ro - See Also:
LambdaFilesystemPermission
-
permissionAsString
public final String permissionAsString()
The permission to access the volume: read/only (
ro) or read/write (rw).Default:
roIf the service returns an enum value that is not available in the current SDK version,
permissionwill returnLambdaFilesystemPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- The permission to access the volume: read/only (
ro) or read/write (rw).Default:
ro - See Also:
LambdaFilesystemPermission
-
addGroupOwner
public final Boolean addGroupOwner()
Whether or not to add the IoT Greengrass user group as an owner of the volume.
Default:
false- Returns:
- Whether or not to add the IoT Greengrass user group as an owner of the volume.
Default:
false
-
toBuilder
public LambdaVolumeMount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LambdaVolumeMount.Builder,LambdaVolumeMount>
-
builder
public static LambdaVolumeMount.Builder builder()
-
serializableBuilderClass
public static Class<? extends LambdaVolumeMount.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-