/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.batch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The container path, mount options, and size of the tmpfs mount.
*
* This object isn't applicable to jobs that are running on Fargate resources. *
*
* The absolute file path in the container where the tmpfs volume is mounted.
*
* The size (in MiB) of the tmpfs volume.
*
* 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"
*
* The absolute file path in the container where the tmpfs volume is mounted.
*
tmpfs volume is mounted.
*/
public void setContainerPath(String containerPath) {
this.containerPath = containerPath;
}
/**
*
* The absolute file path in the container where the tmpfs volume is mounted.
*
tmpfs volume is mounted.
*/
public String getContainerPath() {
return this.containerPath;
}
/**
*
* The absolute file path in the container where the tmpfs volume is mounted.
*
tmpfs volume is mounted.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Tmpfs withContainerPath(String containerPath) {
setContainerPath(containerPath);
return this;
}
/**
*
* The size (in MiB) of the tmpfs volume.
*
tmpfs volume.
*/
public void setSize(Integer size) {
this.size = size;
}
/**
*
* The size (in MiB) of the tmpfs volume.
*
tmpfs volume.
*/
public Integer getSize() {
return this.size;
}
/**
*
* The size (in MiB) of the tmpfs volume.
*
tmpfs volume.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Tmpfs withSize(Integer size) {
setSize(size);
return this;
}
/**
*
* 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"
*
tmpfs volume mount options.
*
* Valid values: "
* The list of
* 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 java.util.Listtmpfs volume mount options.
* 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"
* tmpfs volume mount options.
* Valid values: "
* The list of
* Valid values: "
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setMountOptions(java.util.Collection)} or {@link #withMountOptions(java.util.Collection)} if you want to
* override the existing 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(java.util.Collectiontmpfs volume mount options.
* 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"
* tmpfs volume mount options.
* Valid values: "
* The list of
* 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"
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Tmpfs withMountOptions(String... mountOptions) {
if (this.mountOptions == null) {
setMountOptions(new java.util.ArrayListtmpfs volume mount options.
* 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"
* 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"
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Tmpfs withMountOptions(java.util.Collection