Class CfnAnomalyDetectorPropsMixin.RangeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnAnomalyDetectorPropsMixin.RangeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.RangeProperty>
- Enclosing interface:
CfnAnomalyDetectorPropsMixin.RangeProperty
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.RangeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.RangeProperty>
A builder for
CfnAnomalyDetectorPropsMixin.RangeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnomalyDetectorPropsMixin.RangeProperty.getEndTime()Sets the value ofCfnAnomalyDetectorPropsMixin.RangeProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endTime
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RangeProperty.Builder endTime(String endTime) Sets the value ofCfnAnomalyDetectorPropsMixin.RangeProperty.getEndTime()- Parameters:
endTime- The end time of the range to exclude. The format isyyyy-MM-dd'T'HH:mm:ss. For example,2019-07-01T23:59:59.- Returns:
this
-
startTime
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.RangeProperty.Builder startTime(String startTime) Sets the value ofCfnAnomalyDetectorPropsMixin.RangeProperty.getStartTime()- Parameters:
startTime- The start time of the range to exclude. The format isyyyy-MM-dd'T'HH:mm:ss. For example,2019-07-01T23:59:59.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.RangeProperty>- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.RangeProperty - Throws:
NullPointerException- if any required attribute was not provided
-