Class CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty>
- Enclosing interface:
CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(IResolvable destination) source(IResolvable source) Sets the value ofCfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.getSource()Sets the value ofCfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.getSource()throughResources(List<? extends Object> throughResources) throughResources(IResolvable throughResources)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder destination(IResolvable destination) - Parameters:
destination- The destination.- Returns:
this
-
destination
@Stability(Stable) public CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder destination(CfnNetworkInsightsAccessScope.PathStatementRequestProperty destination) - Parameters:
destination- The destination.- Returns:
this
-
source
@Stability(Stable) public CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder source(IResolvable source) Sets the value ofCfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.getSource()- Parameters:
source- The source.- Returns:
this
-
source
@Stability(Stable) public CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder source(CfnNetworkInsightsAccessScope.PathStatementRequestProperty source) Sets the value ofCfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.getSource()- Parameters:
source- The source.- Returns:
this
-
throughResources
@Stability(Stable) public CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder throughResources(IResolvable throughResources) Sets the value ofCfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.getThroughResources()- Parameters:
throughResources- The through resources.- Returns:
this
-
throughResources
@Stability(Stable) public CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder throughResources(List<? extends Object> throughResources) Sets the value ofCfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.getThroughResources()- Parameters:
throughResources- The through resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty>- Returns:
- a new instance of
CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-