Class CfnMonitorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkflowmonitor.CfnMonitorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitorMixinProps>
- Enclosing interface:
CfnMonitorMixinProps
@Stability(Stable)
public static final class CfnMonitorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitorMixinProps>
A builder for
CfnMonitorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.localResources(List<? extends Object> localResources) Sets the value ofCfnMonitorMixinProps.getLocalResources()localResources(IResolvable localResources) Sets the value ofCfnMonitorMixinProps.getLocalResources()monitorName(String monitorName) Sets the value ofCfnMonitorMixinProps.getMonitorName()remoteResources(List<? extends Object> remoteResources) Sets the value ofCfnMonitorMixinProps.getRemoteResources()remoteResources(IResolvable remoteResources) Sets the value ofCfnMonitorMixinProps.getRemoteResources()Sets the value ofCfnMonitorMixinProps.getScopeArn()Sets the value ofCfnMonitorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localResources
Sets the value ofCfnMonitorMixinProps.getLocalResources()- Parameters:
localResources- The local resources to monitor.- Returns:
this
-
localResources
@Stability(Stable) public CfnMonitorMixinProps.Builder localResources(List<? extends Object> localResources) Sets the value ofCfnMonitorMixinProps.getLocalResources()- Parameters:
localResources- The local resources to monitor.- Returns:
this
-
monitorName
Sets the value ofCfnMonitorMixinProps.getMonitorName()- Parameters:
monitorName- The name of the monitor.- Returns:
this
-
remoteResources
Sets the value ofCfnMonitorMixinProps.getRemoteResources()- Parameters:
remoteResources- The remote resources to monitor.- Returns:
this
-
remoteResources
@Stability(Stable) public CfnMonitorMixinProps.Builder remoteResources(List<? extends Object> remoteResources) Sets the value ofCfnMonitorMixinProps.getRemoteResources()- Parameters:
remoteResources- The remote resources to monitor.- Returns:
this
-
scopeArn
Sets the value ofCfnMonitorMixinProps.getScopeArn()- Parameters:
scopeArn- The Amazon Resource Name (ARN) of the scope for the monitor.- Returns:
this
-
tags
Sets the value ofCfnMonitorMixinProps.getTags()- Parameters:
tags- The tags for the monitor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitorMixinProps>- Returns:
- a new instance of
CfnMonitorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-