Interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder,,- AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails> - SdkBuilder<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder,,- AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails> - SdkPojo
- Enclosing class:
- AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails
- 
Method SummaryModifier 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 aninitprocess 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
capabilitiesAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.
 
- 
capabilitiesdefault 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.Builderavoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails).- Parameters:
- capabilities- a consumer that will call methods on- AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
devicesAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.
 
- 
devicesAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.
 
- 
devicesAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.Builderavoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevices(List<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails>).- Parameters:
- devices- a consumer that will call methods on- AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
initProcessEnabledAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder initProcessEnabled(Boolean initProcessEnabled) Whether to run an initprocess inside the container that forwards signals and reaps processes.- Parameters:
- initProcessEnabled- Whether to run an- initprocess inside the container that forwards signals and reaps processes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxSwapThe 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.
 
- 
swappinessAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.
 
- 
tmpfsAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.
 
- 
tmpfsAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.
 
- 
tmpfsAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.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.Builderavoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totmpfs(List<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails>).- Parameters:
- tmpfs- a consumer that will call methods on- AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-