Class CfnScopeProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkflowmonitor.CfnScopeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScopeProps>
- Enclosing interface:
CfnScopeProps
@Stability(Stable)
public static final class CfnScopeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScopeProps>
A builder for
CfnScopeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnScopeProps.getTags()Sets the value ofCfnScopeProps.getTargets()targets(IResolvable targets) Sets the value ofCfnScopeProps.getTargets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targets
Sets the value ofCfnScopeProps.getTargets()- Parameters:
targets- The targets for the scope. This parameter is required.- Returns:
this
-
targets
Sets the value ofCfnScopeProps.getTargets()- Parameters:
targets- The targets for the scope. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnScopeProps.getTags()- Parameters:
tags- The tags for the scope.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScopeProps>- Returns:
- a new instance of
CfnScopeProps - Throws:
NullPointerException- if any required attribute was not provided
-