@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaVolumeMount extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a volume that Linux processes in a container can access. When you define a volume, the AWS IoT Greengrass Core software mounts the source files to the destination inside the container.
Constructor and Description |
---|
LambdaVolumeMount() |
Modifier and Type | Method and Description |
---|---|
LambdaVolumeMount |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAddGroupOwner()
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
|
String |
getDestinationPath()
The path to the logical volume in the file system.
|
String |
getPermission()
The permission to access the volume: read/only (
ro ) or read/write (rw ). |
String |
getSourcePath()
The path to the physical volume in the file system.
|
int |
hashCode() |
Boolean |
isAddGroupOwner()
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
|
void |
setDestinationPath(String destinationPath)
The path to the logical volume in the file system.
|
void |
setPermission(String permission)
The permission to access the volume: read/only (
ro ) or read/write (rw ). |
void |
setSourcePath(String sourcePath)
The path to the physical volume in the file system.
|
String |
toString()
Returns a string representation of this object.
|
LambdaVolumeMount |
withAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
|
LambdaVolumeMount |
withDestinationPath(String destinationPath)
The path to the logical volume in the file system.
|
LambdaVolumeMount |
withPermission(LambdaFilesystemPermission permission)
The permission to access the volume: read/only (
ro ) or read/write (rw ). |
LambdaVolumeMount |
withPermission(String permission)
The permission to access the volume: read/only (
ro ) or read/write (rw ). |
LambdaVolumeMount |
withSourcePath(String sourcePath)
The path to the physical volume in the file system.
|
public void setSourcePath(String sourcePath)
The path to the physical volume in the file system.
sourcePath
- The path to the physical volume in the file system.public String getSourcePath()
The path to the physical volume in the file system.
public LambdaVolumeMount withSourcePath(String sourcePath)
The path to the physical volume in the file system.
sourcePath
- The path to the physical volume in the file system.public void setDestinationPath(String destinationPath)
The path to the logical volume in the file system.
destinationPath
- The path to the logical volume in the file system.public String getDestinationPath()
The path to the logical volume in the file system.
public LambdaVolumeMount withDestinationPath(String destinationPath)
The path to the logical volume in the file system.
destinationPath
- The path to the logical volume in the file system.public void setPermission(String permission)
The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
permission
- The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public String getPermission()
The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public LambdaVolumeMount withPermission(String permission)
The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
permission
- The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public LambdaVolumeMount withPermission(LambdaFilesystemPermission permission)
The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
permission
- The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
LambdaFilesystemPermission
public void setAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
Default: false
addGroupOwner
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
Default: false
public Boolean getAddGroupOwner()
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
Default: false
Default: false
public LambdaVolumeMount withAddGroupOwner(Boolean addGroupOwner)
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
Default: false
addGroupOwner
- Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
Default: false
public Boolean isAddGroupOwner()
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
Default: false
Default: false
public String toString()
toString
in class Object
Object.toString()
public LambdaVolumeMount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.