Interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder,
,AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails> SdkBuilder<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder,
,AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails> SdkPojo
- Enclosing class:
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities
(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.Builder> capabilities) The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.capabilities
(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails capabilities) The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.The host devices to expose to the container.devices
(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.Builder>... devices) The host devices to expose to the container.The host devices to expose to the container.initProcessEnabled
(Boolean initProcessEnabled) Whether to run aninit
process inside the container that forwards signals and reaps processes.The total amount of swap memory (in MiB) that a container can use.sharedMemorySize
(Integer sharedMemorySize) The value for the size (in MiB) of the /dev/shm volume.swappiness
(Integer swappiness) Configures the container's memory swappiness behavior.The container path, mount options, and size (in MiB) of the tmpfs mount.tmpfs
(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.Builder>... tmpfs) The container path, mount options, and size (in MiB) of the tmpfs mount.The container path, mount options, and size (in MiB) of the tmpfs mount.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
capabilities
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder capabilities(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails capabilities) The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
- Parameters:
capabilities
- The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
default AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder capabilities(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.Builder> capabilities) The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.Builder
avoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilities(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
.- Parameters:
capabilities
- a consumer that will call methods onAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
devices
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder devices(Collection<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails> devices) The host devices to expose to the container.
- Parameters:
devices
- The host devices to expose to the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder devices(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails... devices) The host devices to expose to the container.
- Parameters:
devices
- The host devices to expose to the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder devices(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.Builder>... devices) The host devices to expose to the container.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.Builder
avoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevices(List<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails>)
.- Parameters:
devices
- a consumer that will call methods onAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initProcessEnabled
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder initProcessEnabled(Boolean initProcessEnabled) Whether to run an
init
process inside the container that forwards signals and reaps processes.- Parameters:
initProcessEnabled
- Whether to run aninit
process inside the container that forwards signals and reaps processes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSwap
The total amount of swap memory (in MiB) that a container can use.
- Parameters:
maxSwap
- The total amount of swap memory (in MiB) that a container can use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
swappiness
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder swappiness(Integer swappiness) Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.
- Parameters:
swappiness
- Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tmpfs
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder tmpfs(Collection<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails> tmpfs) The container path, mount options, and size (in MiB) of the tmpfs mount.
- Parameters:
tmpfs
- The container path, mount options, and size (in MiB) of the tmpfs mount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tmpfs
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder tmpfs(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails... tmpfs) The container path, mount options, and size (in MiB) of the tmpfs mount.
- Parameters:
tmpfs
- The container path, mount options, and size (in MiB) of the tmpfs mount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tmpfs
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder tmpfs(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.Builder>... tmpfs) The container path, mount options, and size (in MiB) of the tmpfs mount.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.Builder
avoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totmpfs(List<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails>)
.- Parameters:
tmpfs
- a consumer that will call methods onAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-