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