Class CfnTaskTemplate.DefaultFieldValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnTaskTemplate.DefaultFieldValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskTemplate.DefaultFieldValueProperty>
- Enclosing interface:
CfnTaskTemplate.DefaultFieldValueProperty
@Stability(Stable)
public static final class CfnTaskTemplate.DefaultFieldValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskTemplate.DefaultFieldValueProperty>
A builder for
CfnTaskTemplate.DefaultFieldValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultValue
(String defaultValue) Sets the value ofCfnTaskTemplate.DefaultFieldValueProperty.getDefaultValue()
id
(IResolvable id) Sets the value ofCfnTaskTemplate.DefaultFieldValueProperty.getId()
Sets the value ofCfnTaskTemplate.DefaultFieldValueProperty.getId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValue
@Stability(Stable) public CfnTaskTemplate.DefaultFieldValueProperty.Builder defaultValue(String defaultValue) Sets the value ofCfnTaskTemplate.DefaultFieldValueProperty.getDefaultValue()
- Parameters:
defaultValue
- Default value for the field. This parameter is required.- Returns:
this
-
id
Sets the value ofCfnTaskTemplate.DefaultFieldValueProperty.getId()
- Parameters:
id
- Identifier of a field. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public CfnTaskTemplate.DefaultFieldValueProperty.Builder id(CfnTaskTemplate.FieldIdentifierProperty id) Sets the value ofCfnTaskTemplate.DefaultFieldValueProperty.getId()
- Parameters:
id
- Identifier of a field. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTaskTemplate.DefaultFieldValueProperty>
- Returns:
- a new instance of
CfnTaskTemplate.DefaultFieldValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-