Class CfnCoreNetwork.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnCoreNetwork.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreNetwork>
- Enclosing class:
CfnCoreNetwork
@Stability(Stable)
public static final class CfnCoreNetwork.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreNetwork>
A fluent builder for
CfnCoreNetwork
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnCoreNetwork.Builder
description
(String description) The description of a core network.globalNetworkId
(String globalNetworkId) The ID of the global network that your core network is a part of.policyDocument
(Object policyDocument) Describes a core network policy.The list of key-value tags associated with a core network.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnCoreNetwork.Builder
.
-
globalNetworkId
The ID of the global network that your core network is a part of.- Parameters:
globalNetworkId
- The ID of the global network that your core network is a part of. This parameter is required.- Returns:
this
-
description
The description of a core network.- Parameters:
description
- The description of a core network. This parameter is required.- Returns:
this
-
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.
- Parameters:
policyDocument
- Describes a core network policy. For more information, see Core network policies . This parameter is required.- Returns:
this
-
tags
The list of key-value tags associated with a core network.- Parameters:
tags
- The list of key-value tags associated with a core network. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCoreNetwork>
- Returns:
- a newly built instance of
CfnCoreNetwork
.
-