Class CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty>
- Enclosing interface:
CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceTypes(List<String> resourceTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resources
@Stability(Stable) public CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty.Builder resources(List<String> resources) Sets the value ofCfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty.getResources()- Parameters:
resources- The resources.- Returns:
this
-
resourceTypes
@Stability(Stable) public CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty.Builder resourceTypes(List<String> resourceTypes) Sets the value ofCfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty.getResourceTypes()- Parameters:
resourceTypes- The resource types.- Returns:
this
-
build
@Stability(Stable) public CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty>- Returns:
- a new instance of
CfnNetworkInsightsAccessScopePropsMixin.ResourceStatementRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-