Class AnomalyMonitorReference.Builder
java.lang.Object
software.amazon.awscdk.services.ce.AnomalyMonitorReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AnomalyMonitorReference>
- Enclosing interface:
AnomalyMonitorReference
@Stability(Stable)
public static final class AnomalyMonitorReference.Builder
extends Object
implements software.amazon.jsii.Builder<AnomalyMonitorReference>
A builder for
AnomalyMonitorReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.monitorArn
(String monitorArn) Sets the value ofAnomalyMonitorReference.getMonitorArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
monitorArn
Sets the value ofAnomalyMonitorReference.getMonitorArn()
- Parameters:
monitorArn
- The MonitorArn of the AnomalyMonitor resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AnomalyMonitorReference>
- Returns:
- a new instance of
AnomalyMonitorReference
- Throws:
NullPointerException
- if any required attribute was not provided
-