Class CfnCoreNetwork.CoreNetworkEdgeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnCoreNetwork.CoreNetworkEdgeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreNetwork.CoreNetworkEdgeProperty>
- Enclosing interface:
CfnCoreNetwork.CoreNetworkEdgeProperty
@Stability(Stable)
public static final class CfnCoreNetwork.CoreNetworkEdgeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreNetwork.CoreNetworkEdgeProperty>
A builder for
CfnCoreNetwork.CoreNetworkEdgeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCoreNetwork.CoreNetworkEdgeProperty.getAsn()build()Builds the configured instance.edgeLocation(String edgeLocation) Sets the value ofCfnCoreNetwork.CoreNetworkEdgeProperty.getEdgeLocation()insideCidrBlocks(List<String> insideCidrBlocks) Sets the value ofCfnCoreNetwork.CoreNetworkEdgeProperty.getInsideCidrBlocks()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
asn
Sets the value ofCfnCoreNetwork.CoreNetworkEdgeProperty.getAsn()- Parameters:
asn- The ASN of a core network edge.- Returns:
this
-
edgeLocation
@Stability(Stable) public CfnCoreNetwork.CoreNetworkEdgeProperty.Builder edgeLocation(String edgeLocation) Sets the value ofCfnCoreNetwork.CoreNetworkEdgeProperty.getEdgeLocation()- Parameters:
edgeLocation- The Region where a core network edge is located.- Returns:
this
-
insideCidrBlocks
@Stability(Stable) public CfnCoreNetwork.CoreNetworkEdgeProperty.Builder insideCidrBlocks(List<String> insideCidrBlocks) Sets the value ofCfnCoreNetwork.CoreNetworkEdgeProperty.getInsideCidrBlocks()- Parameters:
insideCidrBlocks- The inside IP addresses used for core network edges.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCoreNetwork.CoreNetworkEdgeProperty>- Returns:
- a new instance of
CfnCoreNetwork.CoreNetworkEdgeProperty - Throws:
NullPointerException- if any required attribute was not provided
-