Class CfnTaskDefinition.SystemControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnTaskDefinition.SystemControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinition.SystemControlProperty>
- Enclosing interface:
CfnTaskDefinition.SystemControlProperty
@Stability(Stable)
public static final class CfnTaskDefinition.SystemControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinition.SystemControlProperty>
A builder for
CfnTaskDefinition.SystemControlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTaskDefinition.SystemControlProperty.getNamespace()Sets the value ofCfnTaskDefinition.SystemControlProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
namespace
@Stability(Stable) public CfnTaskDefinition.SystemControlProperty.Builder namespace(String namespace) Sets the value ofCfnTaskDefinition.SystemControlProperty.getNamespace()- Parameters:
namespace- The namespaced kernel parameter to set avaluefor.- Returns:
this
-
value
Sets the value ofCfnTaskDefinition.SystemControlProperty.getValue()- Parameters:
value- The namespaced kernel parameter to set avaluefor. Valid IPC namespace values:"kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced", andSysctlsthat start with"fs.mqueue.*"Valid network namespace values:
Sysctlsthat start with"net.*". Only namespacedSysctlsthat exist within the container starting with "net.* are accepted.All of these values are supported by Fargate.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskDefinition.SystemControlProperty>- Returns:
- a new instance of
CfnTaskDefinition.SystemControlProperty - Throws:
NullPointerException- if any required attribute was not provided
-