@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaDeviceMount extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a device that Linux processes in a container can access.
Constructor and Description |
---|
LambdaDeviceMount() |
Modifier and Type | Method and Description |
---|---|
LambdaDeviceMount |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAddGroupOwner()
Whether or not to add the component's system user as an owner of the device.
|
String |
getPath()
The mount path for the device in the file system.
|
String |
getPermission()
The permission to access the device: read/only (
ro ) or read/write (rw ). |
int |
hashCode() |
Boolean |
isAddGroupOwner()
Whether or not to add the component's system user as an owner of the device.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the component's system user as an owner of the device.
|
void |
setPath(String path)
The mount path for the device in the file system.
|
void |
setPermission(String permission)
The permission to access the device: read/only (
ro ) or read/write (rw ). |
String |
toString()
Returns a string representation of this object.
|
LambdaDeviceMount |
withAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the component's system user as an owner of the device.
|
LambdaDeviceMount |
withPath(String path)
The mount path for the device in the file system.
|
LambdaDeviceMount |
withPermission(LambdaFilesystemPermission permission)
The permission to access the device: read/only (
ro ) or read/write (rw ). |
LambdaDeviceMount |
withPermission(String permission)
The permission to access the device: read/only (
ro ) or read/write (rw ). |
public void setPath(String path)
The mount path for the device in the file system.
path
- The mount path for the device in the file system.public String getPath()
The mount path for the device in the file system.
public LambdaDeviceMount withPath(String path)
The mount path for the device in the file system.
path
- The mount path for the device in the file system.public void setPermission(String permission)
The permission to access the device: read/only (ro
) or read/write (rw
).
Default: ro
permission
- The permission to access the device: read/only (ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public String getPermission()
The permission to access the device: read/only (ro
) or read/write (rw
).
Default: ro
ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public LambdaDeviceMount withPermission(String permission)
The permission to access the device: read/only (ro
) or read/write (rw
).
Default: ro
permission
- The permission to access the device: read/only (ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public LambdaDeviceMount withPermission(LambdaFilesystemPermission permission)
The permission to access the device: read/only (ro
) or read/write (rw
).
Default: ro
permission
- The permission to access the device: read/only (ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public void setAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the component's system user as an owner of the device.
Default: false
addGroupOwner
- Whether or not to add the component's system user as an owner of the device.
Default: false
public Boolean getAddGroupOwner()
Whether or not to add the component's system user as an owner of the device.
Default: false
Default: false
public LambdaDeviceMount withAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the component's system user as an owner of the device.
Default: false
addGroupOwner
- Whether or not to add the component's system user as an owner of the device.
Default: false
public Boolean isAddGroupOwner()
Whether or not to add the component's system user as an owner of the device.
Default: false
Default: false
public String toString()
toString
in class Object
Object.toString()
public LambdaDeviceMount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.