Class CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty>
- Enclosing interface:
CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty
@Stability(Stable)
public static final class CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.getAdd()build()Builds the configured instance.Sets the value ofCfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.getDrop()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
add
@Stability(Stable) public CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.Builder add(List<String> add) Sets the value ofCfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.getAdd()- Parameters:
add- the value to be set.- Returns:
this
-
drop
@Stability(Stable) public CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.Builder drop(List<String> drop) Sets the value ofCfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty.getDrop()- Parameters:
drop- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty>- Returns:
- a new instance of
CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-