Class LinuxParametersProps.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.LinuxParametersProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LinuxParametersProps>
- Enclosing interface:
LinuxParametersProps
@Stability(Stable)
public static final class LinuxParametersProps.Builder
extends Object
implements software.amazon.jsii.Builder<LinuxParametersProps>
A builder for
LinuxParametersProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.initProcessEnabled
(Boolean initProcessEnabled) Sets the value ofLinuxParametersProps.getInitProcessEnabled()
sharedMemorySize
(Number sharedMemorySize) Sets the value ofLinuxParametersProps.getSharedMemorySize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initProcessEnabled
@Stability(Stable) public LinuxParametersProps.Builder initProcessEnabled(Boolean initProcessEnabled) Sets the value ofLinuxParametersProps.getInitProcessEnabled()
- Parameters:
initProcessEnabled
- Specifies whether to run an init process inside the container that forwards signals and reaps processes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LinuxParametersProps>
- Returns:
- a new instance of
LinuxParametersProps
- Throws:
NullPointerException
- if any required attribute was not provided
-