@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A container definition that describes a container in the task.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
addDockerLabelsEntry(String key,
String value)
Add a single DockerLabels entry
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
clearDockerLabelsEntries()
Removes all the entries added into DockerLabels.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCommand()
The command that is passed to the container.
|
Integer |
getCpu()
The number of CPU units reserved for the container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails> |
getDependsOn()
The dependencies that are defined for container startup and shutdown.
|
Boolean |
getDisableNetworking()
Whether to disable networking within the container.
|
List<String> |
getDnsSearchDomains()
A list of DNS search domains that are presented to the container.
|
List<String> |
getDnsServers()
A list of DNS servers that are presented to the container.
|
Map<String,String> |
getDockerLabels()
A key-value map of labels to add to the container.
|
List<String> |
getDockerSecurityOptions()
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
List<String> |
getEntryPoint()
The entry point that is passed to the container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> |
getEnvironment()
The environment variables to pass to a container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails> |
getEnvironmentFiles()
A list of files containing the environment variables to pass to a container.
|
Boolean |
getEssential()
Whether the container is essential.
|
List<AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails> |
getExtraHosts()
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails |
getFirelensConfiguration()
The FireLens configuration for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails |
getHealthCheck()
The container health check command and associated configuration parameters for the container.
|
String |
getHostname()
The hostname to use for the container.
|
String |
getImage()
The image used to start the container.
|
Boolean |
getInteractive()
If set to true, then containerized applications can be deployed that require
stdin or a
tty to be allocated. |
List<String> |
getLinks()
A list of links for the container in the form
container_name:alias . |
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails |
getLinuxParameters()
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails |
getLogConfiguration()
The log configuration specification for the container.
|
Integer |
getMemory()
The amount (in MiB) of memory to present to the container.
|
Integer |
getMemoryReservation()
The soft limit (in MiB) of memory to reserve for the container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> |
getMountPoints()
The mount points for the data volumes in the container.
|
String |
getName()
The name of the container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails> |
getPortMappings()
The list of port mappings for the container.
|
Boolean |
getPrivileged()
Whether the container is given elevated privileges on the host container instance.
|
Boolean |
getPseudoTerminal()
Whether to allocate a TTY to the container.
|
Boolean |
getReadonlyRootFilesystem()
Whether the container is given read-only access to its root file system.
|
AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails |
getRepositoryCredentials()
The private repository authentication credentials to use.
|
List<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> |
getResourceRequirements()
The type and amount of a resource to assign to a container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> |
getSecrets()
The secrets to pass to the container.
|
Integer |
getStartTimeout()
The number of seconds to wait before giving up on resolving dependencies for a container.
|
Integer |
getStopTimeout()
The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.
|
List<AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails> |
getSystemControls()
A list of namespaced kernel parameters to set in the container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails> |
getUlimits()
A list of ulimits to set in the container.
|
String |
getUser()
The user to use inside the container.
|
List<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails> |
getVolumesFrom()
Data volumes to mount from another container.
|
String |
getWorkingDirectory()
The working directory in which to run commands inside the container.
|
int |
hashCode() |
Boolean |
isDisableNetworking()
Whether to disable networking within the container.
|
Boolean |
isEssential()
Whether the container is essential.
|
Boolean |
isInteractive()
If set to true, then containerized applications can be deployed that require
stdin or a
tty to be allocated. |
Boolean |
isPrivileged()
Whether the container is given elevated privileges on the host container instance.
|
Boolean |
isPseudoTerminal()
Whether to allocate a TTY to the container.
|
Boolean |
isReadonlyRootFilesystem()
Whether the container is given read-only access to its root file system.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommand(Collection<String> command)
The command that is passed to the container.
|
void |
setCpu(Integer cpu)
The number of CPU units reserved for the container.
|
void |
setDependsOn(Collection<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails> dependsOn)
The dependencies that are defined for container startup and shutdown.
|
void |
setDisableNetworking(Boolean disableNetworking)
Whether to disable networking within the container.
|
void |
setDnsSearchDomains(Collection<String> dnsSearchDomains)
A list of DNS search domains that are presented to the container.
|
void |
setDnsServers(Collection<String> dnsServers)
A list of DNS servers that are presented to the container.
|
void |
setDockerLabels(Map<String,String> dockerLabels)
A key-value map of labels to add to the container.
|
void |
setDockerSecurityOptions(Collection<String> dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
void |
setEntryPoint(Collection<String> entryPoint)
The entry point that is passed to the container.
|
void |
setEnvironment(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> environment)
The environment variables to pass to a container.
|
void |
setEnvironmentFiles(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails> environmentFiles)
A list of files containing the environment variables to pass to a container.
|
void |
setEssential(Boolean essential)
Whether the container is essential.
|
void |
setExtraHosts(Collection<AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails> extraHosts)
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
void |
setFirelensConfiguration(AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails firelensConfiguration)
The FireLens configuration for the container.
|
void |
setHealthCheck(AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails healthCheck)
The container health check command and associated configuration parameters for the container.
|
void |
setHostname(String hostname)
The hostname to use for the container.
|
void |
setImage(String image)
The image used to start the container.
|
void |
setInteractive(Boolean interactive)
If set to true, then containerized applications can be deployed that require
stdin or a
tty to be allocated. |
void |
setLinks(Collection<String> links)
A list of links for the container in the form
container_name:alias . |
void |
setLinuxParameters(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails linuxParameters)
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
void |
setLogConfiguration(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails logConfiguration)
The log configuration specification for the container.
|
void |
setMemory(Integer memory)
The amount (in MiB) of memory to present to the container.
|
void |
setMemoryReservation(Integer memoryReservation)
The soft limit (in MiB) of memory to reserve for the container.
|
void |
setMountPoints(Collection<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> mountPoints)
The mount points for the data volumes in the container.
|
void |
setName(String name)
The name of the container.
|
void |
setPortMappings(Collection<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails> portMappings)
The list of port mappings for the container.
|
void |
setPrivileged(Boolean privileged)
Whether the container is given elevated privileges on the host container instance.
|
void |
setPseudoTerminal(Boolean pseudoTerminal)
Whether to allocate a TTY to the container.
|
void |
setReadonlyRootFilesystem(Boolean readonlyRootFilesystem)
Whether the container is given read-only access to its root file system.
|
void |
setRepositoryCredentials(AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails repositoryCredentials)
The private repository authentication credentials to use.
|
void |
setResourceRequirements(Collection<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> resourceRequirements)
The type and amount of a resource to assign to a container.
|
void |
setSecrets(Collection<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> secrets)
The secrets to pass to the container.
|
void |
setStartTimeout(Integer startTimeout)
The number of seconds to wait before giving up on resolving dependencies for a container.
|
void |
setStopTimeout(Integer stopTimeout)
The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.
|
void |
setSystemControls(Collection<AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails> systemControls)
A list of namespaced kernel parameters to set in the container.
|
void |
setUlimits(Collection<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails> ulimits)
A list of ulimits to set in the container.
|
void |
setUser(String user)
The user to use inside the container.
|
void |
setVolumesFrom(Collection<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails> volumesFrom)
Data volumes to mount from another container.
|
void |
setWorkingDirectory(String workingDirectory)
The working directory in which to run commands inside the container.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withCommand(Collection<String> command)
The command that is passed to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withCommand(String... command)
The command that is passed to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withCpu(Integer cpu)
The number of CPU units reserved for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDependsOn(AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails... dependsOn)
The dependencies that are defined for container startup and shutdown.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDependsOn(Collection<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails> dependsOn)
The dependencies that are defined for container startup and shutdown.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDisableNetworking(Boolean disableNetworking)
Whether to disable networking within the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDnsSearchDomains(Collection<String> dnsSearchDomains)
A list of DNS search domains that are presented to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDnsSearchDomains(String... dnsSearchDomains)
A list of DNS search domains that are presented to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDnsServers(Collection<String> dnsServers)
A list of DNS servers that are presented to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDnsServers(String... dnsServers)
A list of DNS servers that are presented to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDockerLabels(Map<String,String> dockerLabels)
A key-value map of labels to add to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDockerSecurityOptions(Collection<String> dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withDockerSecurityOptions(String... dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withEntryPoint(Collection<String> entryPoint)
The entry point that is passed to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withEntryPoint(String... entryPoint)
The entry point that is passed to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withEnvironment(AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails... environment)
The environment variables to pass to a container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withEnvironment(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> environment)
The environment variables to pass to a container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withEnvironmentFiles(AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails... environmentFiles)
A list of files containing the environment variables to pass to a container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withEnvironmentFiles(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails> environmentFiles)
A list of files containing the environment variables to pass to a container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withEssential(Boolean essential)
Whether the container is essential.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withExtraHosts(AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails... extraHosts)
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withExtraHosts(Collection<AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails> extraHosts)
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withFirelensConfiguration(AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails firelensConfiguration)
The FireLens configuration for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withHealthCheck(AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails healthCheck)
The container health check command and associated configuration parameters for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withHostname(String hostname)
The hostname to use for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withImage(String image)
The image used to start the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withInteractive(Boolean interactive)
If set to true, then containerized applications can be deployed that require
stdin or a
tty to be allocated. |
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withLinks(Collection<String> links)
A list of links for the container in the form
container_name:alias . |
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withLinks(String... links)
A list of links for the container in the form
container_name:alias . |
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withLinuxParameters(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails linuxParameters)
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withLogConfiguration(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails logConfiguration)
The log configuration specification for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withMemory(Integer memory)
The amount (in MiB) of memory to present to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withMemoryReservation(Integer memoryReservation)
The soft limit (in MiB) of memory to reserve for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withMountPoints(AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails... mountPoints)
The mount points for the data volumes in the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withMountPoints(Collection<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> mountPoints)
The mount points for the data volumes in the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withName(String name)
The name of the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withPortMappings(AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails... portMappings)
The list of port mappings for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withPortMappings(Collection<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails> portMappings)
The list of port mappings for the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withPrivileged(Boolean privileged)
Whether the container is given elevated privileges on the host container instance.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withPseudoTerminal(Boolean pseudoTerminal)
Whether to allocate a TTY to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withReadonlyRootFilesystem(Boolean readonlyRootFilesystem)
Whether the container is given read-only access to its root file system.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withRepositoryCredentials(AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails repositoryCredentials)
The private repository authentication credentials to use.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withResourceRequirements(AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails... resourceRequirements)
The type and amount of a resource to assign to a container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withResourceRequirements(Collection<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> resourceRequirements)
The type and amount of a resource to assign to a container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withSecrets(AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails... secrets)
The secrets to pass to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withSecrets(Collection<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> secrets)
The secrets to pass to the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withStartTimeout(Integer startTimeout)
The number of seconds to wait before giving up on resolving dependencies for a container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withStopTimeout(Integer stopTimeout)
The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withSystemControls(AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails... systemControls)
A list of namespaced kernel parameters to set in the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withSystemControls(Collection<AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails> systemControls)
A list of namespaced kernel parameters to set in the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withUlimits(AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails... ulimits)
A list of ulimits to set in the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withUlimits(Collection<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails> ulimits)
A list of ulimits to set in the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withUser(String user)
The user to use inside the container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withVolumesFrom(AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails... volumesFrom)
Data volumes to mount from another container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withVolumesFrom(Collection<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails> volumesFrom)
Data volumes to mount from another container.
|
AwsEcsTaskDefinitionContainerDefinitionsDetails |
withWorkingDirectory(String workingDirectory)
The working directory in which to run commands inside the container.
|
public AwsEcsTaskDefinitionContainerDefinitionsDetails()
public List<String> getCommand()
The command that is passed to the container.
public void setCommand(Collection<String> command)
The command that is passed to the container.
command
- The command that is passed to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withCommand(String... command)
The command that is passed to the container.
NOTE: This method appends the values to the existing list (if any). Use
setCommand(java.util.Collection)
or withCommand(java.util.Collection)
if you want to override
the existing values.
command
- The command that is passed to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withCommand(Collection<String> command)
The command that is passed to the container.
command
- The command that is passed to the container.public void setCpu(Integer cpu)
The number of CPU units reserved for the container.
cpu
- The number of CPU units reserved for the container.public Integer getCpu()
The number of CPU units reserved for the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withCpu(Integer cpu)
The number of CPU units reserved for the container.
cpu
- The number of CPU units reserved for the container.public List<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails> getDependsOn()
The dependencies that are defined for container startup and shutdown.
public void setDependsOn(Collection<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails> dependsOn)
The dependencies that are defined for container startup and shutdown.
dependsOn
- The dependencies that are defined for container startup and shutdown.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDependsOn(AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails... dependsOn)
The dependencies that are defined for container startup and shutdown.
NOTE: This method appends the values to the existing list (if any). Use
setDependsOn(java.util.Collection)
or withDependsOn(java.util.Collection)
if you want to
override the existing values.
dependsOn
- The dependencies that are defined for container startup and shutdown.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDependsOn(Collection<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails> dependsOn)
The dependencies that are defined for container startup and shutdown.
dependsOn
- The dependencies that are defined for container startup and shutdown.public void setDisableNetworking(Boolean disableNetworking)
Whether to disable networking within the container.
disableNetworking
- Whether to disable networking within the container.public Boolean getDisableNetworking()
Whether to disable networking within the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withDisableNetworking(Boolean disableNetworking)
Whether to disable networking within the container.
disableNetworking
- Whether to disable networking within the container.public Boolean isDisableNetworking()
Whether to disable networking within the container.
public List<String> getDnsSearchDomains()
A list of DNS search domains that are presented to the container.
public void setDnsSearchDomains(Collection<String> dnsSearchDomains)
A list of DNS search domains that are presented to the container.
dnsSearchDomains
- A list of DNS search domains that are presented to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDnsSearchDomains(String... dnsSearchDomains)
A list of DNS search domains that are presented to the container.
NOTE: This method appends the values to the existing list (if any). Use
setDnsSearchDomains(java.util.Collection)
or withDnsSearchDomains(java.util.Collection)
if you
want to override the existing values.
dnsSearchDomains
- A list of DNS search domains that are presented to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDnsSearchDomains(Collection<String> dnsSearchDomains)
A list of DNS search domains that are presented to the container.
dnsSearchDomains
- A list of DNS search domains that are presented to the container.public List<String> getDnsServers()
A list of DNS servers that are presented to the container.
public void setDnsServers(Collection<String> dnsServers)
A list of DNS servers that are presented to the container.
dnsServers
- A list of DNS servers that are presented to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDnsServers(String... dnsServers)
A list of DNS servers that are presented to the container.
NOTE: This method appends the values to the existing list (if any). Use
setDnsServers(java.util.Collection)
or withDnsServers(java.util.Collection)
if you want to
override the existing values.
dnsServers
- A list of DNS servers that are presented to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDnsServers(Collection<String> dnsServers)
A list of DNS servers that are presented to the container.
dnsServers
- A list of DNS servers that are presented to the container.public Map<String,String> getDockerLabels()
A key-value map of labels to add to the container.
public void setDockerLabels(Map<String,String> dockerLabels)
A key-value map of labels to add to the container.
dockerLabels
- A key-value map of labels to add to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDockerLabels(Map<String,String> dockerLabels)
A key-value map of labels to add to the container.
dockerLabels
- A key-value map of labels to add to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails addDockerLabelsEntry(String key, String value)
public AwsEcsTaskDefinitionContainerDefinitionsDetails clearDockerLabelsEntries()
public List<String> getDockerSecurityOptions()
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
public void setDockerSecurityOptions(Collection<String> dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
dockerSecurityOptions
- A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDockerSecurityOptions(String... dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
NOTE: This method appends the values to the existing list (if any). Use
setDockerSecurityOptions(java.util.Collection)
or
withDockerSecurityOptions(java.util.Collection)
if you want to override the existing values.
dockerSecurityOptions
- A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.public AwsEcsTaskDefinitionContainerDefinitionsDetails withDockerSecurityOptions(Collection<String> dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
dockerSecurityOptions
- A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.public List<String> getEntryPoint()
The entry point that is passed to the container.
public void setEntryPoint(Collection<String> entryPoint)
The entry point that is passed to the container.
entryPoint
- The entry point that is passed to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withEntryPoint(String... entryPoint)
The entry point that is passed to the container.
NOTE: This method appends the values to the existing list (if any). Use
setEntryPoint(java.util.Collection)
or withEntryPoint(java.util.Collection)
if you want to
override the existing values.
entryPoint
- The entry point that is passed to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withEntryPoint(Collection<String> entryPoint)
The entry point that is passed to the container.
entryPoint
- The entry point that is passed to the container.public List<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> getEnvironment()
The environment variables to pass to a container.
public void setEnvironment(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> environment)
The environment variables to pass to a container.
environment
- The environment variables to pass to a container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withEnvironment(AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails... environment)
The environment variables to pass to a container.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironment(java.util.Collection)
or withEnvironment(java.util.Collection)
if you want to
override the existing values.
environment
- The environment variables to pass to a container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withEnvironment(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> environment)
The environment variables to pass to a container.
environment
- The environment variables to pass to a container.public List<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails> getEnvironmentFiles()
A list of files containing the environment variables to pass to a container.
public void setEnvironmentFiles(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails> environmentFiles)
A list of files containing the environment variables to pass to a container.
environmentFiles
- A list of files containing the environment variables to pass to a container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withEnvironmentFiles(AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails... environmentFiles)
A list of files containing the environment variables to pass to a container.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentFiles(java.util.Collection)
or withEnvironmentFiles(java.util.Collection)
if you
want to override the existing values.
environmentFiles
- A list of files containing the environment variables to pass to a container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withEnvironmentFiles(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails> environmentFiles)
A list of files containing the environment variables to pass to a container.
environmentFiles
- A list of files containing the environment variables to pass to a container.public void setEssential(Boolean essential)
Whether the container is essential. All tasks must have at least one essential container.
essential
- Whether the container is essential. All tasks must have at least one essential container.public Boolean getEssential()
Whether the container is essential. All tasks must have at least one essential container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withEssential(Boolean essential)
Whether the container is essential. All tasks must have at least one essential container.
essential
- Whether the container is essential. All tasks must have at least one essential container.public Boolean isEssential()
Whether the container is essential. All tasks must have at least one essential container.
public List<AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails> getExtraHosts()
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
public void setExtraHosts(Collection<AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails> extraHosts)
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
extraHosts
- A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withExtraHosts(AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails... extraHosts)
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
NOTE: This method appends the values to the existing list (if any). Use
setExtraHosts(java.util.Collection)
or withExtraHosts(java.util.Collection)
if you want to
override the existing values.
extraHosts
- A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withExtraHosts(Collection<AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails> extraHosts)
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
extraHosts
- A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.public void setFirelensConfiguration(AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails firelensConfiguration)
The FireLens configuration for the container. Specifies and configures a log router for container logs.
firelensConfiguration
- The FireLens configuration for the container. Specifies and configures a log router for container logs.public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails getFirelensConfiguration()
The FireLens configuration for the container. Specifies and configures a log router for container logs.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withFirelensConfiguration(AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails firelensConfiguration)
The FireLens configuration for the container. Specifies and configures a log router for container logs.
firelensConfiguration
- The FireLens configuration for the container. Specifies and configures a log router for container logs.public void setHealthCheck(AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails healthCheck)
The container health check command and associated configuration parameters for the container.
healthCheck
- The container health check command and associated configuration parameters for the container.public AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails getHealthCheck()
The container health check command and associated configuration parameters for the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withHealthCheck(AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails healthCheck)
The container health check command and associated configuration parameters for the container.
healthCheck
- The container health check command and associated configuration parameters for the container.public void setHostname(String hostname)
The hostname to use for the container.
hostname
- The hostname to use for the container.public String getHostname()
The hostname to use for the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withHostname(String hostname)
The hostname to use for the container.
hostname
- The hostname to use for the container.public void setImage(String image)
The image used to start the container.
image
- The image used to start the container.public String getImage()
The image used to start the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withImage(String image)
The image used to start the container.
image
- The image used to start the container.public void setInteractive(Boolean interactive)
If set to true, then containerized applications can be deployed that require stdin
or a
tty
to be allocated.
interactive
- If set to true, then containerized applications can be deployed that require stdin
or a
tty
to be allocated.public Boolean getInteractive()
If set to true, then containerized applications can be deployed that require stdin
or a
tty
to be allocated.
stdin
or a
tty
to be allocated.public AwsEcsTaskDefinitionContainerDefinitionsDetails withInteractive(Boolean interactive)
If set to true, then containerized applications can be deployed that require stdin
or a
tty
to be allocated.
interactive
- If set to true, then containerized applications can be deployed that require stdin
or a
tty
to be allocated.public Boolean isInteractive()
If set to true, then containerized applications can be deployed that require stdin
or a
tty
to be allocated.
stdin
or a
tty
to be allocated.public List<String> getLinks()
A list of links for the container in the form container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.
container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.public void setLinks(Collection<String> links)
A list of links for the container in the form container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.
links
- A list of links for the container in the form container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.public AwsEcsTaskDefinitionContainerDefinitionsDetails withLinks(String... links)
A list of links for the container in the form container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.
NOTE: This method appends the values to the existing list (if any). Use
setLinks(java.util.Collection)
or withLinks(java.util.Collection)
if you want to override the
existing values.
links
- A list of links for the container in the form container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.public AwsEcsTaskDefinitionContainerDefinitionsDetails withLinks(Collection<String> links)
A list of links for the container in the form container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.
links
- A list of links for the container in the form container_name:alias
. Allows
containers to communicate with each other without the need for port mappings.public void setLinuxParameters(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails linuxParameters)
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
linuxParameters
- Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails getLinuxParameters()
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withLinuxParameters(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails linuxParameters)
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
linuxParameters
- Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.public void setLogConfiguration(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails logConfiguration)
The log configuration specification for the container.
logConfiguration
- The log configuration specification for the container.public AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails getLogConfiguration()
The log configuration specification for the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withLogConfiguration(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails logConfiguration)
The log configuration specification for the container.
logConfiguration
- The log configuration specification for the container.public void setMemory(Integer memory)
The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.
memory
- The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory
specified here, the container is shut down. The total amount of memory reserved for all containers within
a task must be lower than the task memory value, if one is specified.public Integer getMemory()
The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withMemory(Integer memory)
The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.
memory
- The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory
specified here, the container is shut down. The total amount of memory reserved for all containers within
a task must be lower than the task memory value, if one is specified.public void setMemoryReservation(Integer memoryReservation)
The soft limit (in MiB) of memory to reserve for the container.
memoryReservation
- The soft limit (in MiB) of memory to reserve for the container.public Integer getMemoryReservation()
The soft limit (in MiB) of memory to reserve for the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withMemoryReservation(Integer memoryReservation)
The soft limit (in MiB) of memory to reserve for the container.
memoryReservation
- The soft limit (in MiB) of memory to reserve for the container.public List<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> getMountPoints()
The mount points for the data volumes in the container.
public void setMountPoints(Collection<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> mountPoints)
The mount points for the data volumes in the container.
mountPoints
- The mount points for the data volumes in the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withMountPoints(AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails... mountPoints)
The mount points for the data volumes in the container.
NOTE: This method appends the values to the existing list (if any). Use
setMountPoints(java.util.Collection)
or withMountPoints(java.util.Collection)
if you want to
override the existing values.
mountPoints
- The mount points for the data volumes in the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withMountPoints(Collection<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> mountPoints)
The mount points for the data volumes in the container.
mountPoints
- The mount points for the data volumes in the container.public void setName(String name)
The name of the container.
name
- The name of the container.public String getName()
The name of the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withName(String name)
The name of the container.
name
- The name of the container.public List<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails> getPortMappings()
The list of port mappings for the container.
public void setPortMappings(Collection<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails> portMappings)
The list of port mappings for the container.
portMappings
- The list of port mappings for the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withPortMappings(AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails... portMappings)
The list of port mappings for the container.
NOTE: This method appends the values to the existing list (if any). Use
setPortMappings(java.util.Collection)
or withPortMappings(java.util.Collection)
if you want to
override the existing values.
portMappings
- The list of port mappings for the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withPortMappings(Collection<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails> portMappings)
The list of port mappings for the container.
portMappings
- The list of port mappings for the container.public void setPrivileged(Boolean privileged)
Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.
privileged
- Whether the container is given elevated privileges on the host container instance. The elevated privileges
are similar to the root user.public Boolean getPrivileged()
Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withPrivileged(Boolean privileged)
Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.
privileged
- Whether the container is given elevated privileges on the host container instance. The elevated privileges
are similar to the root user.public Boolean isPrivileged()
Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.
public void setPseudoTerminal(Boolean pseudoTerminal)
Whether to allocate a TTY to the container.
pseudoTerminal
- Whether to allocate a TTY to the container.public Boolean getPseudoTerminal()
Whether to allocate a TTY to the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withPseudoTerminal(Boolean pseudoTerminal)
Whether to allocate a TTY to the container.
pseudoTerminal
- Whether to allocate a TTY to the container.public Boolean isPseudoTerminal()
Whether to allocate a TTY to the container.
public void setReadonlyRootFilesystem(Boolean readonlyRootFilesystem)
Whether the container is given read-only access to its root file system.
readonlyRootFilesystem
- Whether the container is given read-only access to its root file system.public Boolean getReadonlyRootFilesystem()
Whether the container is given read-only access to its root file system.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withReadonlyRootFilesystem(Boolean readonlyRootFilesystem)
Whether the container is given read-only access to its root file system.
readonlyRootFilesystem
- Whether the container is given read-only access to its root file system.public Boolean isReadonlyRootFilesystem()
Whether the container is given read-only access to its root file system.
public void setRepositoryCredentials(AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails repositoryCredentials)
The private repository authentication credentials to use.
repositoryCredentials
- The private repository authentication credentials to use.public AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails getRepositoryCredentials()
The private repository authentication credentials to use.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withRepositoryCredentials(AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails repositoryCredentials)
The private repository authentication credentials to use.
repositoryCredentials
- The private repository authentication credentials to use.public List<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> getResourceRequirements()
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
public void setResourceRequirements(Collection<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> resourceRequirements)
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
resourceRequirements
- The type and amount of a resource to assign to a container. The only supported resource is a GPU.public AwsEcsTaskDefinitionContainerDefinitionsDetails withResourceRequirements(AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails... resourceRequirements)
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
NOTE: This method appends the values to the existing list (if any). Use
setResourceRequirements(java.util.Collection)
or withResourceRequirements(java.util.Collection)
if you want to override the existing values.
resourceRequirements
- The type and amount of a resource to assign to a container. The only supported resource is a GPU.public AwsEcsTaskDefinitionContainerDefinitionsDetails withResourceRequirements(Collection<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails> resourceRequirements)
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
resourceRequirements
- The type and amount of a resource to assign to a container. The only supported resource is a GPU.public List<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> getSecrets()
The secrets to pass to the container.
public void setSecrets(Collection<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> secrets)
The secrets to pass to the container.
secrets
- The secrets to pass to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withSecrets(AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails... secrets)
The secrets to pass to the container.
NOTE: This method appends the values to the existing list (if any). Use
setSecrets(java.util.Collection)
or withSecrets(java.util.Collection)
if you want to override
the existing values.
secrets
- The secrets to pass to the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withSecrets(Collection<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> secrets)
The secrets to pass to the container.
secrets
- The secrets to pass to the container.public void setStartTimeout(Integer startTimeout)
The number of seconds to wait before giving up on resolving dependencies for a container.
startTimeout
- The number of seconds to wait before giving up on resolving dependencies for a container.public Integer getStartTimeout()
The number of seconds to wait before giving up on resolving dependencies for a container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withStartTimeout(Integer startTimeout)
The number of seconds to wait before giving up on resolving dependencies for a container.
startTimeout
- The number of seconds to wait before giving up on resolving dependencies for a container.public void setStopTimeout(Integer stopTimeout)
The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.
stopTimeout
- The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.public Integer getStopTimeout()
The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withStopTimeout(Integer stopTimeout)
The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.
stopTimeout
- The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.public List<AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails> getSystemControls()
A list of namespaced kernel parameters to set in the container.
public void setSystemControls(Collection<AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails> systemControls)
A list of namespaced kernel parameters to set in the container.
systemControls
- A list of namespaced kernel parameters to set in the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withSystemControls(AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails... systemControls)
A list of namespaced kernel parameters to set in the container.
NOTE: This method appends the values to the existing list (if any). Use
setSystemControls(java.util.Collection)
or withSystemControls(java.util.Collection)
if you want
to override the existing values.
systemControls
- A list of namespaced kernel parameters to set in the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withSystemControls(Collection<AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails> systemControls)
A list of namespaced kernel parameters to set in the container.
systemControls
- A list of namespaced kernel parameters to set in the container.public List<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails> getUlimits()
A list of ulimits to set in the container.
public void setUlimits(Collection<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails> ulimits)
A list of ulimits to set in the container.
ulimits
- A list of ulimits to set in the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withUlimits(AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails... ulimits)
A list of ulimits to set in the container.
NOTE: This method appends the values to the existing list (if any). Use
setUlimits(java.util.Collection)
or withUlimits(java.util.Collection)
if you want to override
the existing values.
ulimits
- A list of ulimits to set in the container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withUlimits(Collection<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails> ulimits)
A list of ulimits to set in the container.
ulimits
- A list of ulimits to set in the container.public void setUser(String user)
The user to use inside the container.
The value can use one of the following formats.
user
user
: group
uid
uid
: gid
user
: gid
uid
: group
user
- The user to use inside the container.
The value can use one of the following formats.
user
user
: group
uid
uid
: gid
user
: gid
uid
: group
public String getUser()
The user to use inside the container.
The value can use one of the following formats.
user
user
: group
uid
uid
: gid
user
: gid
uid
: group
The value can use one of the following formats.
user
user
: group
uid
uid
: gid
user
: gid
uid
: group
public AwsEcsTaskDefinitionContainerDefinitionsDetails withUser(String user)
The user to use inside the container.
The value can use one of the following formats.
user
user
: group
uid
uid
: gid
user
: gid
uid
: group
user
- The user to use inside the container.
The value can use one of the following formats.
user
user
: group
uid
uid
: gid
user
: gid
uid
: group
public List<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails> getVolumesFrom()
Data volumes to mount from another container.
public void setVolumesFrom(Collection<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails> volumesFrom)
Data volumes to mount from another container.
volumesFrom
- Data volumes to mount from another container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withVolumesFrom(AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails... volumesFrom)
Data volumes to mount from another container.
NOTE: This method appends the values to the existing list (if any). Use
setVolumesFrom(java.util.Collection)
or withVolumesFrom(java.util.Collection)
if you want to
override the existing values.
volumesFrom
- Data volumes to mount from another container.public AwsEcsTaskDefinitionContainerDefinitionsDetails withVolumesFrom(Collection<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails> volumesFrom)
Data volumes to mount from another container.
volumesFrom
- Data volumes to mount from another container.public void setWorkingDirectory(String workingDirectory)
The working directory in which to run commands inside the container.
workingDirectory
- The working directory in which to run commands inside the container.public String getWorkingDirectory()
The working directory in which to run commands inside the container.
public AwsEcsTaskDefinitionContainerDefinitionsDetails withWorkingDirectory(String workingDirectory)
The working directory in which to run commands inside the container.
workingDirectory
- The working directory in which to run commands inside the container.public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.