Class CfnCoreNetworkProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnCoreNetworkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreNetworkProps>
- Enclosing interface:
CfnCoreNetworkProps
@Stability(Stable)
public static final class CfnCoreNetworkProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreNetworkProps>
A builder for
CfnCoreNetworkProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnCoreNetworkProps.getDescription()
globalNetworkId
(String globalNetworkId) Sets the value ofCfnCoreNetworkProps.getGlobalNetworkId()
policyDocument
(Object policyDocument) Sets the value ofCfnCoreNetworkProps.getPolicyDocument()
Sets the value ofCfnCoreNetworkProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalNetworkId
Sets the value ofCfnCoreNetworkProps.getGlobalNetworkId()
- Parameters:
globalNetworkId
- The ID of the global network that your core network is a part of. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnCoreNetworkProps.getDescription()
- Parameters:
description
- The description of a core network.- Returns:
this
-
policyDocument
Sets the value ofCfnCoreNetworkProps.getPolicyDocument()
- Parameters:
policyDocument
- Describes a core network policy. For more information, see Core network policies . If you update the policy document, CloudFormation will apply the core network change set generated from the updated policy document, and then set it as the LIVE policy.- Returns:
this
-
tags
Sets the value ofCfnCoreNetworkProps.getTags()
- Parameters:
tags
- The list of key-value tags associated with a core network.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCoreNetworkProps>
- Returns:
- a new instance of
CfnCoreNetworkProps
- Throws:
NullPointerException
- if any required attribute was not provided
-