Class LambdaDeviceMount
- java.lang.Object
-
- software.amazon.awssdk.services.greengrassv2.model.LambdaDeviceMount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LambdaDeviceMount.Builder,LambdaDeviceMount>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLambdaDeviceMount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanaddGroupOwner()Whether or not to add the component's system user as an owner of the device.static LambdaDeviceMount.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpath()The mount path for the device in the file system.LambdaFilesystemPermissionpermission()The permission to access the device: read/only (ro) or read/write (rw).StringpermissionAsString()The permission to access the device: read/only (ro) or read/write (rw).List<SdkField<?>>sdkFields()static Class<? extends LambdaDeviceMount.Builder>serializableBuilderClass()LambdaDeviceMount.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
-
path
public final String path()
The mount path for the device in the file system.
- Returns:
- The mount path for the device in the file system.
-
permission
public final LambdaFilesystemPermission permission()
The permission to access the device: 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 device: read/only (
ro) or read/write (rw).Default:
ro - See Also:
LambdaFilesystemPermission
-
permissionAsString
public final String permissionAsString()
The permission to access the device: 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 device: read/only (
ro) or read/write (rw).Default:
ro - See Also:
LambdaFilesystemPermission
-
addGroupOwner
public final Boolean addGroupOwner()
Whether or not to add the component's system user as an owner of the device.
Default:
false- Returns:
- Whether or not to add the component's system user as an owner of the device.
Default:
false
-
toBuilder
public LambdaDeviceMount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LambdaDeviceMount.Builder,LambdaDeviceMount>
-
builder
public static LambdaDeviceMount.Builder builder()
-
serializableBuilderClass
public static Class<? extends LambdaDeviceMount.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.
-
-