@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Tmpfs extends Object implements Serializable, Cloneable, StructuredPojo
The container path, mount options, and size of the tmpfs mount.
Constructor and Description |
---|
Tmpfs() |
Modifier and Type | Method and Description |
---|---|
Tmpfs |
clone() |
boolean |
equals(Object obj) |
String |
getContainerPath()
The absolute file path where the tmpfs volume is to be mounted.
|
List<String> |
getMountOptions()
The list of tmpfs volume mount options.
|
Integer |
getSize()
The maximum size (in MiB) of the tmpfs volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setContainerPath(String containerPath)
The absolute file path where the tmpfs volume is to be mounted.
|
void |
setMountOptions(Collection<String> mountOptions)
The list of tmpfs volume mount options.
|
void |
setSize(Integer size)
The maximum size (in MiB) of the tmpfs volume.
|
String |
toString()
Returns a string representation of this object.
|
Tmpfs |
withContainerPath(String containerPath)
The absolute file path where the tmpfs volume is to be mounted.
|
Tmpfs |
withMountOptions(Collection<String> mountOptions)
The list of tmpfs volume mount options.
|
Tmpfs |
withMountOptions(String... mountOptions)
The list of tmpfs volume mount options.
|
Tmpfs |
withSize(Integer size)
The maximum size (in MiB) of the tmpfs volume.
|
public void setContainerPath(String containerPath)
The absolute file path where the tmpfs volume is to be mounted.
containerPath
- The absolute file path where the tmpfs volume is to be mounted.public String getContainerPath()
The absolute file path where the tmpfs volume is to be mounted.
public Tmpfs withContainerPath(String containerPath)
The absolute file path where the tmpfs volume is to be mounted.
containerPath
- The absolute file path where the tmpfs volume is to be mounted.public void setSize(Integer size)
The maximum size (in MiB) of the tmpfs volume.
size
- The maximum size (in MiB) of the tmpfs volume.public Integer getSize()
The maximum size (in MiB) of the tmpfs volume.
public Tmpfs withSize(Integer size)
The maximum size (in MiB) of the tmpfs volume.
size
- The maximum size (in MiB) of the tmpfs volume.public List<String> getMountOptions()
The list of tmpfs volume mount options.
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
public void setMountOptions(Collection<String> mountOptions)
The list of tmpfs volume mount options.
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
mountOptions
- The list of tmpfs volume mount options.
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
public Tmpfs withMountOptions(String... mountOptions)
The list of tmpfs volume mount options.
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
NOTE: This method appends the values to the existing list (if any). Use
setMountOptions(java.util.Collection)
or withMountOptions(java.util.Collection)
if you want to
override the existing values.
mountOptions
- The list of tmpfs volume mount options.
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
public Tmpfs withMountOptions(Collection<String> mountOptions)
The list of tmpfs volume mount options.
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
mountOptions
- The list of tmpfs volume mount options.
Valid values:
"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.