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