Class NetworkInsightsPathReference.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.NetworkInsightsPathReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkInsightsPathReference>
- Enclosing interface:
NetworkInsightsPathReference
@Stability(Stable)
public static final class NetworkInsightsPathReference.Builder
extends Object
implements software.amazon.jsii.Builder<NetworkInsightsPathReference>
A builder for
NetworkInsightsPathReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.networkInsightsPathArn
(String networkInsightsPathArn) Sets the value ofNetworkInsightsPathReference.getNetworkInsightsPathArn()
networkInsightsPathId
(String networkInsightsPathId) Sets the value ofNetworkInsightsPathReference.getNetworkInsightsPathId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkInsightsPathArn
@Stability(Stable) public NetworkInsightsPathReference.Builder networkInsightsPathArn(String networkInsightsPathArn) Sets the value ofNetworkInsightsPathReference.getNetworkInsightsPathArn()
- Parameters:
networkInsightsPathArn
- The ARN of the NetworkInsightsPath resource. This parameter is required.- Returns:
this
-
networkInsightsPathId
@Stability(Stable) public NetworkInsightsPathReference.Builder networkInsightsPathId(String networkInsightsPathId) Sets the value ofNetworkInsightsPathReference.getNetworkInsightsPathId()
- Parameters:
networkInsightsPathId
- The NetworkInsightsPathId of the NetworkInsightsPath resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NetworkInsightsPathReference>
- Returns:
- a new instance of
NetworkInsightsPathReference
- Throws:
NullPointerException
- if any required attribute was not provided
-