Class CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty>
- Enclosing interface:
CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty
@Stability(Stable)
public static final class CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty>
A builder for
CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.edgeLocations
(List<String> edgeLocations) Sets the value ofCfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.getName()
segments
(IResolvable segments) Sets the value ofCfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.getSegments()
segments
(CfnCoreNetwork.SegmentsProperty segments) Sets the value ofCfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.getSegments()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
edgeLocations
@Stability(Stable) public CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.Builder edgeLocations(List<String> edgeLocations) - Parameters:
edgeLocations
- The core network edge locations.- Returns:
this
-
name
@Stability(Stable) public CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.Builder name(String name) Sets the value ofCfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.getName()
- Parameters:
name
- The name of the network function group.- Returns:
this
-
segments
@Stability(Stable) public CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.Builder segments(IResolvable segments) Sets the value ofCfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.getSegments()
- Parameters:
segments
- The segments associated with the network function group.- Returns:
this
-
segments
@Stability(Stable) public CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.Builder segments(CfnCoreNetwork.SegmentsProperty segments) Sets the value ofCfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty.getSegments()
- Parameters:
segments
- The segments associated with the network function group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty>
- Returns:
- a new instance of
CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-