public static interface AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsDetails>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsTaskDefinitionContainerDefinitionsDetails.Builder command(Collection<String> command)
The command that is passed to the container.
command - The command that is passed to the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder command(String... command)
The command that is passed to the container.
command - The command that is passed to the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder cpu(Integer cpu)
The number of CPU units reserved for the container.
cpu - The number of CPU units reserved for the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dependsOn(Collection<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails> dependsOn)
The dependencies that are defined for container startup and shutdown.
dependsOn - The dependencies that are defined for container startup and shutdown.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dependsOn(AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails... dependsOn)
The dependencies that are defined for container startup and shutdown.
dependsOn - The dependencies that are defined for container startup and shutdown.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dependsOn(Consumer<AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails.Builder>... dependsOn)
The dependencies that are defined for container startup and shutdown.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #dependsOn(List.
dependsOn - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails.Builder#dependsOn(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder disableNetworking(Boolean disableNetworking)
Whether to disable networking within the container.
disableNetworking - Whether to disable networking within the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dnsSearchDomains(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dnsSearchDomains(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dnsServers(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dnsServers(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dockerLabels(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dockerSecurityOptions(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder dockerSecurityOptions(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder entryPoint(Collection<String> entryPoint)
The entry point that is passed to the container.
entryPoint - The entry point that is passed to the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder entryPoint(String... entryPoint)
The entry point that is passed to the container.
entryPoint - The entry point that is passed to the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder environment(Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> environment)
The environment variables to pass to a container.
environment - The environment variables to pass to a container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder environment(AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails... environment)
The environment variables to pass to a container.
environment - The environment variables to pass to a container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder environment(Consumer<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails.Builder>... environment)
The environment variables to pass to a container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #environment(List.
environment - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails.Builder#environment(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder environmentFiles(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder environmentFiles(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder environmentFiles(Consumer<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails.Builder>... environmentFiles)
A list of files containing the environment variables to pass to a container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #environmentFiles(List.
environmentFiles - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails.Builder#environmentFiles(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder essential(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder extraHosts(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder extraHosts(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder extraHosts(Consumer<AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails.Builder>... extraHosts)
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #extraHosts(List.
extraHosts - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails.Builder#extraHosts(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder firelensConfiguration(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.default AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder firelensConfiguration(Consumer<AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails.Builder> firelensConfiguration)
The FireLens configuration for the container. Specifies and configures a log router for container logs.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails.Builder avoiding the need to
create one manually via
AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to
firelensConfiguration(AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails).
firelensConfiguration - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails.BuilderfirelensConfiguration(AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails)AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder healthCheck(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.default AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder healthCheck(Consumer<AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder> healthCheck)
The container health check command and associated configuration parameters for the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.Builder avoiding the need to create one
manually via AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to healthCheck(AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails).
healthCheck - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails.BuilderhealthCheck(AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails)AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder hostname(String hostname)
The hostname to use for the container.
hostname - The hostname to use for the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder image(String image)
The image used to start the container.
image - The image used to start the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder interactive(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder links(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder links(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder linuxParameters(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.default AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder linuxParameters(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder> linuxParameters)
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder avoiding the need to create
one manually via AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to
linuxParameters(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails).
linuxParameters - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.BuilderlinuxParameters(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails)AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder logConfiguration(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails logConfiguration)
The log configuration specification for the container.
logConfiguration - The log configuration specification for the container.default AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder logConfiguration(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder> logConfiguration)
The log configuration specification for the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder avoiding the need to create
one manually via AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to
logConfiguration(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails).
logConfiguration - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.BuilderlogConfiguration(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails)AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder memory(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder memoryReservation(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder mountPoints(Collection<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails> mountPoints)
The mount points for the data volumes in the container.
mountPoints - The mount points for the data volumes in the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder mountPoints(AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails... mountPoints)
The mount points for the data volumes in the container.
mountPoints - The mount points for the data volumes in the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder mountPoints(Consumer<AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder>... mountPoints)
The mount points for the data volumes in the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #mountPoints(List.
mountPoints - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails.Builder#mountPoints(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder name(String name)
The name of the container.
name - The name of the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder portMappings(Collection<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails> portMappings)
The list of port mappings for the container.
portMappings - The list of port mappings for the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder portMappings(AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails... portMappings)
The list of port mappings for the container.
portMappings - The list of port mappings for the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder portMappings(Consumer<AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder>... portMappings)
The list of port mappings for the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #portMappings(List.
portMappings - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder#portMappings(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder privileged(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder pseudoTerminal(Boolean pseudoTerminal)
Whether to allocate a TTY to the container.
pseudoTerminal - Whether to allocate a TTY to the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder readonlyRootFilesystem(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder repositoryCredentials(AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails repositoryCredentials)
The private repository authentication credentials to use.
repositoryCredentials - The private repository authentication credentials to use.default AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder repositoryCredentials(Consumer<AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails.Builder> repositoryCredentials)
The private repository authentication credentials to use.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails.Builder avoiding the need to
create one manually via
AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to
repositoryCredentials(AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails).
repositoryCredentials - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails.BuilderrepositoryCredentials(AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails)AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder resourceRequirements(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder resourceRequirements(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder resourceRequirements(Consumer<AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder>... resourceRequirements)
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #resourceRequirements(List.
resourceRequirements - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails.BuilderresourceRequirements(java.util.Collection<
AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails>)AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder secrets(Collection<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails> secrets)
The secrets to pass to the container.
secrets - The secrets to pass to the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder secrets(AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails... secrets)
The secrets to pass to the container.
secrets - The secrets to pass to the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder secrets(Consumer<AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails.Builder>... secrets)
The secrets to pass to the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsSecretsDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #secrets(List.
secrets - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails.Builder#secrets(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder startTimeout(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder stopTimeout(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder systemControls(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder systemControls(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.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder systemControls(Consumer<AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails.Builder>... systemControls)
A list of namespaced kernel parameters to set in the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #systemControls(List.
systemControls - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails.Builder#systemControls(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder ulimits(Collection<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails> ulimits)
A list of ulimits to set in the container.
ulimits - A list of ulimits to set in the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder ulimits(AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails... ulimits)
A list of ulimits to set in the container.
ulimits - A list of ulimits to set in the container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder ulimits(Consumer<AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails.Builder>... ulimits)
A list of ulimits to set in the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #ulimits(List.
ulimits - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails.Builder#ulimits(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder user(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
AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder volumesFrom(Collection<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails> volumesFrom)
Data volumes to mount from another container.
volumesFrom - Data volumes to mount from another container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder volumesFrom(AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails... volumesFrom)
Data volumes to mount from another container.
volumesFrom - Data volumes to mount from another container.AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder volumesFrom(Consumer<AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails.Builder>... volumesFrom)
Data volumes to mount from another container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails.Builder
avoiding the need to create one manually via
AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #volumesFrom(List.
volumesFrom - a consumer that will call methods on
AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails.Builder#volumesFrom(java.util.Collection) AwsEcsTaskDefinitionContainerDefinitionsDetails.Builder workingDirectory(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.Copyright © 2023. All rights reserved.