Class CfnMonitor.Builder
java.lang.Object
software.amazon.awscdk.services.networkflowmonitor.CfnMonitor.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitor>
- Enclosing class:
CfnMonitor
@Stability(Stable)
public static final class CfnMonitor.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitor>
A fluent builder for
CfnMonitor.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnMonitor.BuilderlocalResources(List<? extends Object> localResources) The local resources to monitor.localResources(IResolvable localResources) The local resources to monitor.monitorName(String monitorName) The name of the monitor.remoteResources(List<? extends Object> remoteResources) The remote resources to monitor.remoteResources(IResolvable remoteResources) The remote resources to monitor.The Amazon Resource Name (ARN) of the scope for the monitor.The tags for the monitor.
-
Method Details
-
create
@Stability(Stable) public static CfnMonitor.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMonitor.Builder.
-
localResources
The local resources to monitor.- Parameters:
localResources- The local resources to monitor. This parameter is required.- Returns:
this- See Also:
-
localResources
The local resources to monitor.- Parameters:
localResources- The local resources to monitor. This parameter is required.- Returns:
this- See Also:
-
monitorName
The name of the monitor.- Parameters:
monitorName- The name of the monitor. This parameter is required.- Returns:
this- See Also:
-
remoteResources
The remote resources to monitor.- Parameters:
remoteResources- The remote resources to monitor. This parameter is required.- Returns:
this- See Also:
-
remoteResources
@Stability(Stable) public CfnMonitor.Builder remoteResources(List<? extends Object> remoteResources) The remote resources to monitor.- Parameters:
remoteResources- The remote resources to monitor. This parameter is required.- Returns:
this- See Also:
-
scopeArn
The Amazon Resource Name (ARN) of the scope for the monitor.- Parameters:
scopeArn- The Amazon Resource Name (ARN) of the scope for the monitor. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the monitor.- Parameters:
tags- The tags for the monitor. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitor>- Returns:
- a newly built instance of
CfnMonitor.
-