Class CfnNetworkInsightsAnalysis.Builder

java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis>
Enclosing class:
CfnNetworkInsightsAnalysis

@Stability(Stable) public static final class CfnNetworkInsightsAnalysis.Builder extends Object implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis>
A fluent builder for CfnNetworkInsightsAnalysis.
  • Method Details

    • create

      @Stability(Stable) public static CfnNetworkInsightsAnalysis.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnNetworkInsightsAnalysis.Builder.
    • networkInsightsPathId

      @Stability(Stable) public CfnNetworkInsightsAnalysis.Builder networkInsightsPathId(String networkInsightsPathId)
      The ID of the path.

      Parameters:
      networkInsightsPathId - The ID of the path. This parameter is required.
      Returns:
      this
    • additionalAccounts

      @Stability(Stable) public CfnNetworkInsightsAnalysis.Builder additionalAccounts(List<String> additionalAccounts)
      The member accounts that contain resources that the path can traverse.

      Parameters:
      additionalAccounts - The member accounts that contain resources that the path can traverse. This parameter is required.
      Returns:
      this
    • filterInArns

      @Stability(Stable) public CfnNetworkInsightsAnalysis.Builder filterInArns(List<String> filterInArns)
      The Amazon Resource Names (ARN) of the resources that the path must traverse.

      Parameters:
      filterInArns - The Amazon Resource Names (ARN) of the resources that the path must traverse. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnNetworkInsightsAnalysis.Builder tags(List<? extends CfnTag> tags)
      The tags to apply.

      Parameters:
      tags - The tags to apply. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnNetworkInsightsAnalysis build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis>
      Returns:
      a newly built instance of CfnNetworkInsightsAnalysis.