@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.
public void setMountOptions(Collection<String> mountOptions)
The list of tmpfs volume mount options.
mountOptions
- The list of tmpfs volume mount options.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails withMountOptions(String... mountOptions)
The list of tmpfs volume mount options.
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.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails withMountOptions(Collection<String> mountOptions)
The list of tmpfs volume mount options.
mountOptions
- The list of tmpfs volume mount options.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 Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.