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 Details

    • create

      @Stability(Stable) public static CfnCoreNetwork.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnCoreNetwork.Builder.
    • globalNetworkId

      @Stability(Stable) public CfnCoreNetwork.Builder globalNetworkId(String 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

      @Stability(Stable) public CfnCoreNetwork.Builder description(String description)
      The description of a core network.

      Parameters:
      description - The description of a core network. This parameter is required.
      Returns:
      this
    • policyDocument

      @Stability(Stable) public CfnCoreNetwork.Builder policyDocument(Object 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

      @Stability(Stable) public CfnCoreNetwork.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnCoreNetwork build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnCoreNetwork>
      Returns:
      a newly built instance of CfnCoreNetwork.