Class CfnDetectorModel.ResetTimerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnDetectorModel.ResetTimerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModel.ResetTimerProperty>
- Enclosing interface:
CfnDetectorModel.ResetTimerProperty
@Stability(Stable)
public static final class CfnDetectorModel.ResetTimerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModel.ResetTimerProperty>
A builder for
CfnDetectorModel.ResetTimerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetectorModel.ResetTimerProperty.getTimerName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timerName
Sets the value ofCfnDetectorModel.ResetTimerProperty.getTimerName()- Parameters:
timerName- The name of the timer to reset. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModel.ResetTimerProperty>- Returns:
- a new instance of
CfnDetectorModel.ResetTimerProperty - Throws:
NullPointerException- if any required attribute was not provided
-