Class CfnRule.FieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRule.FieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.FieldProperty>
- Enclosing interface:
CfnRule.FieldProperty
@Stability(Stable)
public static final class CfnRule.FieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.FieldProperty>
A builder for
CfnRule.FieldProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRule.FieldProperty.getId()
value
(IResolvable value) Sets the value ofCfnRule.FieldProperty.getValue()
value
(CfnRule.FieldValueProperty value) Sets the value ofCfnRule.FieldProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnRule.FieldProperty.getId()
- Parameters:
id
- the value to be set. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnRule.FieldProperty.getValue()
- Parameters:
value
- Object for case field values. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnRule.FieldProperty.getValue()
- Parameters:
value
- Object for case field values. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRule.FieldProperty>
- Returns:
- a new instance of
CfnRule.FieldProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-