Class CfnRule.ReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRule.ReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.ReferenceProperty>
- Enclosing interface:
- CfnRule.ReferenceProperty
@Stability(Stable)
public static final class CfnRule.ReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.ReferenceProperty>
A builder for
CfnRule.ReferenceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRule.ReferenceProperty.getType()Sets the value ofCfnRule.ReferenceProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnRule.ReferenceProperty.getType()- Parameters:
type- The type of the reference.DATEmust be of type Epoch timestamp. This parameter is required. Allowed values :URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL- Returns:
this
-
value
Sets the value ofCfnRule.ReferenceProperty.getValue()- Parameters:
value- A valid value for the reference. This parameter is required. 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<CfnRule.ReferenceProperty>- Returns:
- a new instance of
CfnRule.ReferenceProperty - Throws:
NullPointerException- if any required attribute was not provided
-