Class CfnResourceConfiguration.CidrResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnResourceConfiguration.CidrResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceConfiguration.CidrResourceProperty>
- Enclosing interface:
CfnResourceConfiguration.CidrResourceProperty
@Stability(Stable)
public static final class CfnResourceConfiguration.CidrResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceConfiguration.CidrResourceProperty>
A builder for
CfnResourceConfiguration.CidrResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cidrRanges(List<String> cidrRanges) Sets the value ofCfnResourceConfiguration.CidrResourceProperty.getCidrRanges()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrRanges
@Stability(Stable) public CfnResourceConfiguration.CidrResourceProperty.Builder cidrRanges(List<String> cidrRanges) Sets the value ofCfnResourceConfiguration.CidrResourceProperty.getCidrRanges()- Parameters:
cidrRanges- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceConfiguration.CidrResourceProperty>- Returns:
- a new instance of
CfnResourceConfiguration.CidrResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-