Interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails>,SdkBuilder<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails>,SdkPojo
- Enclosing class:
- AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails
public static interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder,AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.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 onAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
capabilities(AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails)
-
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.Builderavoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#devices(List.) - 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:
#devices(java.util.Collection)
-
initProcessEnabled
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder initProcessEnabled(Boolean initProcessEnabled)
Whether to run an
initprocess inside the container that forwards signals and reaps processes.- Parameters:
initProcessEnabled- Whether to run aninitprocess 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
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder maxSwap(Integer 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.
-
sharedMemorySize
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails.Builder sharedMemorySize(Integer sharedMemorySize)
The value for the size (in MiB) of the /dev/shm volume.
- Parameters:
sharedMemorySize- The value for the size (in MiB) of the /dev/shm volume.- 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.Builderavoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tmpfs(List.) - 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:
#tmpfs(java.util.Collection)
-
-