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