Class CfnNetworkInsightsAccessScopeProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScopeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAccessScopeProps>
- Enclosing interface:
CfnNetworkInsightsAccessScopeProps
@Stability(Stable)
public static final class CfnNetworkInsightsAccessScopeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAccessScopeProps>
A builder for
CfnNetworkInsightsAccessScopeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.excludePaths
(List<? extends Object> excludePaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getExcludePaths()
excludePaths
(IResolvable excludePaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getExcludePaths()
matchPaths
(List<? extends Object> matchPaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getMatchPaths()
matchPaths
(IResolvable matchPaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getMatchPaths()
Sets the value ofCfnNetworkInsightsAccessScopeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
excludePaths
@Stability(Stable) public CfnNetworkInsightsAccessScopeProps.Builder excludePaths(IResolvable excludePaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getExcludePaths()
- Parameters:
excludePaths
- The paths to exclude.- Returns:
this
-
excludePaths
@Stability(Stable) public CfnNetworkInsightsAccessScopeProps.Builder excludePaths(List<? extends Object> excludePaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getExcludePaths()
- Parameters:
excludePaths
- The paths to exclude.- Returns:
this
-
matchPaths
@Stability(Stable) public CfnNetworkInsightsAccessScopeProps.Builder matchPaths(IResolvable matchPaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getMatchPaths()
- Parameters:
matchPaths
- The paths to match.- Returns:
this
-
matchPaths
@Stability(Stable) public CfnNetworkInsightsAccessScopeProps.Builder matchPaths(List<? extends Object> matchPaths) Sets the value ofCfnNetworkInsightsAccessScopeProps.getMatchPaths()
- Parameters:
matchPaths
- The paths to match.- Returns:
this
-
tags
@Stability(Stable) public CfnNetworkInsightsAccessScopeProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnNetworkInsightsAccessScopeProps.getTags()
- Parameters:
tags
- The tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAccessScopeProps>
- Returns:
- a new instance of
CfnNetworkInsightsAccessScopeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-