@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails extends Object implements Serializable, Cloneable, StructuredPojo
The container path, mount options, and size (in MiB) of a tmpfs mount.
| Constructor and Description |
|---|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails |
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)
Marshalls this structured data using the given
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.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails |
withContainerPath(String containerPath)
The absolute file path where the tmpfs volume is to be mounted.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails |
withMountOptions(Collection<String> mountOptions)
The list of tmpfs volume mount options.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails |
withMountOptions(String... mountOptions)
The list of tmpfs volume mount options.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails |
withSize(Integer size)
The maximum size (in MiB) of the tmpfs volume.
|
public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails()
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 AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails 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 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 AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails 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 AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails 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 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 AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails withSize(Integer size)
The maximum size (in MiB) of the tmpfs volume.
size - The maximum size (in MiB) of the tmpfs volume.public String toString()
toString in class ObjectObject.toString()public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.