Class CoreNetworkState.Builder

  • Enclosing class:
    CoreNetworkState

    public static final class CoreNetworkState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public CoreNetworkState.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - Core Network ARN.
        Returns:
        builder
      • arn

        public CoreNetworkState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Core Network ARN.
        Returns:
        builder
      • basePolicyDocument

        public CoreNetworkState.Builder basePolicyDocument​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> basePolicyDocument)
        Parameters:
        basePolicyDocument - Sets the base policy document for the core network. Refer to the [Core network policies documentation](https://docs.aws.amazon.com/network-manager/latest/cloudwan/cloudwan-policy-change-sets.html) for more information.
        Returns:
        builder
      • basePolicyDocument

        public CoreNetworkState.Builder basePolicyDocument​(java.lang.String basePolicyDocument)
        Parameters:
        basePolicyDocument - Sets the base policy document for the core network. Refer to the [Core network policies documentation](https://docs.aws.amazon.com/network-manager/latest/cloudwan/cloudwan-policy-change-sets.html) for more information.
        Returns:
        builder
      • basePolicyRegions

        public CoreNetworkState.Builder basePolicyRegions​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> basePolicyRegions)
        Parameters:
        basePolicyRegions - List of regions to add to the base policy. The base policy created by setting the `createBasePolicy` argument to `true` requires one or more regions to be set in the `edge-locations`, `location` key. If `basePolicyRegions` is not specified, the region used in the base policy defaults to the region specified in the `provider` block.
        Returns:
        builder
      • basePolicyRegions

        public CoreNetworkState.Builder basePolicyRegions​(java.util.List<java.lang.String> basePolicyRegions)
        Parameters:
        basePolicyRegions - List of regions to add to the base policy. The base policy created by setting the `createBasePolicy` argument to `true` requires one or more regions to be set in the `edge-locations`, `location` key. If `basePolicyRegions` is not specified, the region used in the base policy defaults to the region specified in the `provider` block.
        Returns:
        builder
      • basePolicyRegions

        public CoreNetworkState.Builder basePolicyRegions​(java.lang.String... basePolicyRegions)
        Parameters:
        basePolicyRegions - List of regions to add to the base policy. The base policy created by setting the `createBasePolicy` argument to `true` requires one or more regions to be set in the `edge-locations`, `location` key. If `basePolicyRegions` is not specified, the region used in the base policy defaults to the region specified in the `provider` block.
        Returns:
        builder
      • createBasePolicy

        public CoreNetworkState.Builder createBasePolicy​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> createBasePolicy)
        Parameters:
        createBasePolicy - Whether to create a base policy when a core network is created or updated. A base policy is created and set to `LIVE` to allow attachments to the core network (e.g. VPC Attachments) before applying a policy document provided using the `aws.networkmanager.CoreNetworkPolicyAttachment` resource. This base policy is needed if your core network does not have any `LIVE` policies and your policy document has static routes pointing to VPC attachments and you want to attach your VPCs to the core network before applying the desired policy document. Valid values are `true` or `false`. An example of this Pulumi snippet can be found above for VPC Attachment in a single region and for VPC Attachment multi-region. An example base policy is shown in the Base Policy Example section. This base policy is overridden with the policy that you specify in the `aws.networkmanager.CoreNetworkPolicyAttachment` resource.
        Returns:
        builder
      • createBasePolicy

        public CoreNetworkState.Builder createBasePolicy​(java.lang.Boolean createBasePolicy)
        Parameters:
        createBasePolicy - Whether to create a base policy when a core network is created or updated. A base policy is created and set to `LIVE` to allow attachments to the core network (e.g. VPC Attachments) before applying a policy document provided using the `aws.networkmanager.CoreNetworkPolicyAttachment` resource. This base policy is needed if your core network does not have any `LIVE` policies and your policy document has static routes pointing to VPC attachments and you want to attach your VPCs to the core network before applying the desired policy document. Valid values are `true` or `false`. An example of this Pulumi snippet can be found above for VPC Attachment in a single region and for VPC Attachment multi-region. An example base policy is shown in the Base Policy Example section. This base policy is overridden with the policy that you specify in the `aws.networkmanager.CoreNetworkPolicyAttachment` resource.
        Returns:
        builder
      • createdAt

        public CoreNetworkState.Builder createdAt​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Timestamp when a core network was created.
        Returns:
        builder
      • createdAt

        public CoreNetworkState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Timestamp when a core network was created.
        Returns:
        builder
      • description

        public CoreNetworkState.Builder description​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the Core Network.
        Returns:
        builder
      • description

        public CoreNetworkState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the Core Network.
        Returns:
        builder
      • edges

        public CoreNetworkState.Builder edges​(@Nullable
                                              com.pulumi.core.Output<java.util.List<CoreNetworkEdgeArgs>> edges)
        Parameters:
        edges - One or more blocks detailing the edges within a core network. Detailed below.
        Returns:
        builder
      • globalNetworkId

        public CoreNetworkState.Builder globalNetworkId​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> globalNetworkId)
        Parameters:
        globalNetworkId - ID of the global network that a core network will be a part of. The following arguments are optional:
        Returns:
        builder
      • globalNetworkId

        public CoreNetworkState.Builder globalNetworkId​(java.lang.String globalNetworkId)
        Parameters:
        globalNetworkId - ID of the global network that a core network will be a part of. The following arguments are optional:
        Returns:
        builder
      • segments

        public CoreNetworkState.Builder segments​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<CoreNetworkSegmentArgs>> segments)
        Parameters:
        segments - One or more blocks detailing the segments within a core network. Detailed below.
        Returns:
        builder
      • state

        public CoreNetworkState.Builder state​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - Current state of a core network.
        Returns:
        builder
      • state

        public CoreNetworkState.Builder state​(java.lang.String state)
        Parameters:
        state - Current state of a core network.
        Returns:
        builder
      • tags

        public CoreNetworkState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value tags for the Core Network. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public CoreNetworkState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value tags for the Core Network. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public CoreNetworkState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public CoreNetworkState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder