Interface DaemonLinuxParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DaemonLinuxParameters.Builder,,DaemonLinuxParameters> SdkBuilder<DaemonLinuxParameters.Builder,,DaemonLinuxParameters> SdkPojo
- Enclosing class:
DaemonLinuxParameters
-
Method Summary
Modifier and TypeMethodDescriptiondefault DaemonLinuxParameters.Buildercapabilities(Consumer<KernelCapabilities.Builder> capabilities) The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.capabilities(KernelCapabilities capabilities) The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.devices(Collection<Device> devices) Any host devices to expose to the container.devices(Consumer<Device.Builder>... devices) Any host devices to expose to the container.Any host devices to expose to the container.initProcessEnabled(Boolean initProcessEnabled) Run aninitprocess inside the container that forwards signals and reaps processes.tmpfs(Collection<Tmpfs> tmpfs) The container path, mount options, and size (in MiB) of the tmpfs mount.tmpfs(Consumer<Tmpfs.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 DaemonLinuxParameters.Builder capabilities(Consumer<KernelCapabilities.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 theKernelCapabilities.Builderavoiding the need to create one manually viaKernelCapabilities.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(KernelCapabilities).- Parameters:
capabilities- a consumer that will call methods onKernelCapabilities.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
devices
Any host devices to expose to the container.
- Parameters:
devices- Any host devices to expose to the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
Any host devices to expose to the container.
- Parameters:
devices- Any host devices to expose to the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
Any host devices to expose to the container.
This is a convenience method that creates an instance of theDevice.Builderavoiding the need to create one manually viaDevice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevices(List<Device>).- Parameters:
devices- a consumer that will call methods onDevice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initProcessEnabled
Run an
initprocess inside the container that forwards signals and reaps processes.- Parameters:
initProcessEnabled- 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.
-
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
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
The container path, mount options, and size (in MiB) of the tmpfs mount.
This is a convenience method that creates an instance of theTmpfs.Builderavoiding the need to create one manually viaTmpfs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totmpfs(List<Tmpfs>).- Parameters:
tmpfs- a consumer that will call methods onTmpfs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-