Class CfnRulePropsMixin.ReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnRulePropsMixin.ReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin.ReferenceProperty>
- Enclosing interface:
CfnRulePropsMixin.ReferenceProperty
@Stability(Stable)
public static final class CfnRulePropsMixin.ReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin.ReferenceProperty>
A builder for
CfnRulePropsMixin.ReferenceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRulePropsMixin.ReferenceProperty.getType()Sets the value ofCfnRulePropsMixin.ReferenceProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnRulePropsMixin.ReferenceProperty.getType()- Parameters:
type- The type of the reference.DATEmust be of type Epoch timestamp. Allowed values :URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL- Returns:
this
-
value
Sets the value ofCfnRulePropsMixin.ReferenceProperty.getValue()- Parameters:
value- A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin.ReferenceProperty>- Returns:
- a new instance of
CfnRulePropsMixin.ReferenceProperty - Throws:
NullPointerException- if any required attribute was not provided
-