Class CfnDaemonTaskDefinition.LinuxParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnDaemonTaskDefinition.LinuxParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemonTaskDefinition.LinuxParametersProperty>
- Enclosing interface:
CfnDaemonTaskDefinition.LinuxParametersProperty
@Stability(Stable)
public static final class CfnDaemonTaskDefinition.LinuxParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemonTaskDefinition.LinuxParametersProperty>
A builder for
CfnDaemonTaskDefinition.LinuxParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capabilities(IResolvable capabilities) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getCapabilities()Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getCapabilities()Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getDevices()devices(IResolvable devices) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getDevices()initProcessEnabled(Boolean initProcessEnabled) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getInitProcessEnabled()initProcessEnabled(IResolvable initProcessEnabled) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getInitProcessEnabled()Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getTmpfs()tmpfs(IResolvable tmpfs) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getTmpfs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capabilities
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder capabilities(IResolvable capabilities) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getCapabilities()- Parameters:
capabilities- the value to be set.- Returns:
this
-
capabilities
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder capabilities(CfnDaemonTaskDefinition.KernelCapabilitiesProperty capabilities) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getCapabilities()- Parameters:
capabilities- the value to be set.- Returns:
this
-
devices
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder devices(IResolvable devices) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getDevices()- Parameters:
devices- the value to be set.- Returns:
this
-
devices
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder devices(List<? extends Object> devices) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getDevices()- Parameters:
devices- the value to be set.- Returns:
this
-
initProcessEnabled
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder initProcessEnabled(Boolean initProcessEnabled) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getInitProcessEnabled()- Parameters:
initProcessEnabled- the value to be set.- Returns:
this
-
initProcessEnabled
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder initProcessEnabled(IResolvable initProcessEnabled) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getInitProcessEnabled()- Parameters:
initProcessEnabled- the value to be set.- Returns:
this
-
tmpfs
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder tmpfs(IResolvable tmpfs) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getTmpfs()- Parameters:
tmpfs- the value to be set.- Returns:
this
-
tmpfs
@Stability(Stable) public CfnDaemonTaskDefinition.LinuxParametersProperty.Builder tmpfs(List<? extends Object> tmpfs) Sets the value ofCfnDaemonTaskDefinition.LinuxParametersProperty.getTmpfs()- Parameters:
tmpfs- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDaemonTaskDefinition.LinuxParametersProperty>- Returns:
- a new instance of
CfnDaemonTaskDefinition.LinuxParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-