Class CfnNetworkInsightsAnalysisProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysisProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisProps>
- Enclosing interface:
CfnNetworkInsightsAnalysisProps
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysisProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisProps>
A builder for
CfnNetworkInsightsAnalysisProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalAccounts(List<String> additionalAccounts) Sets the value ofCfnNetworkInsightsAnalysisProps.getAdditionalAccounts()build()Builds the configured instance.filterInArns(List<String> filterInArns) Sets the value ofCfnNetworkInsightsAnalysisProps.getFilterInArns()filterOutArns(List<String> filterOutArns) Sets the value ofCfnNetworkInsightsAnalysisProps.getFilterOutArns()networkInsightsPathId(String networkInsightsPathId) Sets the value ofCfnNetworkInsightsAnalysisProps.getNetworkInsightsPathId()Sets the value ofCfnNetworkInsightsAnalysisProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkInsightsPathId
@Stability(Stable) public CfnNetworkInsightsAnalysisProps.Builder networkInsightsPathId(String networkInsightsPathId) Sets the value ofCfnNetworkInsightsAnalysisProps.getNetworkInsightsPathId()- Parameters:
networkInsightsPathId- The ID of the path. This parameter is required.- Returns:
this
-
additionalAccounts
@Stability(Stable) public CfnNetworkInsightsAnalysisProps.Builder additionalAccounts(List<String> additionalAccounts) Sets the value ofCfnNetworkInsightsAnalysisProps.getAdditionalAccounts()- Parameters:
additionalAccounts- The member accounts that contain resources that the path can traverse.- Returns:
this
-
filterInArns
@Stability(Stable) public CfnNetworkInsightsAnalysisProps.Builder filterInArns(List<String> filterInArns) Sets the value ofCfnNetworkInsightsAnalysisProps.getFilterInArns()- Parameters:
filterInArns- The Amazon Resource Names (ARN) of the resources that the path must traverse.- Returns:
this
-
filterOutArns
@Stability(Stable) public CfnNetworkInsightsAnalysisProps.Builder filterOutArns(List<String> filterOutArns) Sets the value ofCfnNetworkInsightsAnalysisProps.getFilterOutArns()- Parameters:
filterOutArns- The Amazon Resource Names (ARN) of the resources that the path must ignore.- Returns:
this
-
tags
Sets the value ofCfnNetworkInsightsAnalysisProps.getTags()- Parameters:
tags- The tags to apply.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysisProps>- Returns:
- a new instance of
CfnNetworkInsightsAnalysisProps - Throws:
NullPointerException- if any required attribute was not provided
-