Class CfnRecommenderPropsMixin.EventParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnRecommenderPropsMixin.EventParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecommenderPropsMixin.EventParametersProperty>
- Enclosing interface:
CfnRecommenderPropsMixin.EventParametersProperty
@Stability(Stable)
public static final class CfnRecommenderPropsMixin.EventParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecommenderPropsMixin.EventParametersProperty>
A builder for
CfnRecommenderPropsMixin.EventParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRecommenderPropsMixin.EventParametersProperty.getEventType()eventValueThreshold(Number eventValueThreshold)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventType
@Stability(Stable) public CfnRecommenderPropsMixin.EventParametersProperty.Builder eventType(String eventType) Sets the value ofCfnRecommenderPropsMixin.EventParametersProperty.getEventType()- Parameters:
eventType- The type of event.- Returns:
this
-
eventValueThreshold
@Stability(Stable) public CfnRecommenderPropsMixin.EventParametersProperty.Builder eventValueThreshold(Number eventValueThreshold) - Parameters:
eventValueThreshold- The threshold of the event type. Only events with a value greater or equal to this threshold will be considered for solution creation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRecommenderPropsMixin.EventParametersProperty>- Returns:
- a new instance of
CfnRecommenderPropsMixin.EventParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-