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