Class CfnAnomalyDetector.TimestampColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.TimestampColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetector.TimestampColumnProperty>
- Enclosing interface:
CfnAnomalyDetector.TimestampColumnProperty
@Stability(Stable)
public static final class CfnAnomalyDetector.TimestampColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetector.TimestampColumnProperty>
A builder for
CfnAnomalyDetector.TimestampColumnProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columnFormat
(String columnFormat) Sets the value ofCfnAnomalyDetector.TimestampColumnProperty.getColumnFormat()
columnName
(String columnName) Sets the value ofCfnAnomalyDetector.TimestampColumnProperty.getColumnName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnFormat
@Stability(Stable) public CfnAnomalyDetector.TimestampColumnProperty.Builder columnFormat(String columnFormat) Sets the value ofCfnAnomalyDetector.TimestampColumnProperty.getColumnFormat()
- Parameters:
columnFormat
- The format of the timestamp column.- Returns:
this
-
columnName
@Stability(Stable) public CfnAnomalyDetector.TimestampColumnProperty.Builder columnName(String columnName) Sets the value ofCfnAnomalyDetector.TimestampColumnProperty.getColumnName()
- Parameters:
columnName
- The name of the timestamp column.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetector.TimestampColumnProperty>
- Returns:
- a new instance of
CfnAnomalyDetector.TimestampColumnProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-