Class VpcIpamPoolState.Builder

  • Enclosing class:
    VpcIpamPoolState

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

      • Builder

        public Builder()
    • Method Detail

      • addressFamily

        public VpcIpamPoolState.Builder addressFamily​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> addressFamily)
        Parameters:
        addressFamily - The IP protocol assigned to this pool. You must choose either IPv4 or IPv6 protocol for a pool.
        Returns:
        builder
      • addressFamily

        public VpcIpamPoolState.Builder addressFamily​(java.lang.String addressFamily)
        Parameters:
        addressFamily - The IP protocol assigned to this pool. You must choose either IPv4 or IPv6 protocol for a pool.
        Returns:
        builder
      • allocationDefaultNetmaskLength

        public VpcIpamPoolState.Builder allocationDefaultNetmaskLength​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> allocationDefaultNetmaskLength)
        Parameters:
        allocationDefaultNetmaskLength - A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16 (unless you provide a different netmask value when you create the new allocation).
        Returns:
        builder
      • allocationDefaultNetmaskLength

        public VpcIpamPoolState.Builder allocationDefaultNetmaskLength​(java.lang.Integer allocationDefaultNetmaskLength)
        Parameters:
        allocationDefaultNetmaskLength - A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16 (unless you provide a different netmask value when you create the new allocation).
        Returns:
        builder
      • allocationMaxNetmaskLength

        public VpcIpamPoolState.Builder allocationMaxNetmaskLength​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Integer> allocationMaxNetmaskLength)
        Parameters:
        allocationMaxNetmaskLength - The maximum netmask length that will be required for CIDR allocations in this pool.
        Returns:
        builder
      • allocationMaxNetmaskLength

        public VpcIpamPoolState.Builder allocationMaxNetmaskLength​(java.lang.Integer allocationMaxNetmaskLength)
        Parameters:
        allocationMaxNetmaskLength - The maximum netmask length that will be required for CIDR allocations in this pool.
        Returns:
        builder
      • allocationMinNetmaskLength

        public VpcIpamPoolState.Builder allocationMinNetmaskLength​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Integer> allocationMinNetmaskLength)
        Parameters:
        allocationMinNetmaskLength - The minimum netmask length that will be required for CIDR allocations in this pool.
        Returns:
        builder
      • allocationMinNetmaskLength

        public VpcIpamPoolState.Builder allocationMinNetmaskLength​(java.lang.Integer allocationMinNetmaskLength)
        Parameters:
        allocationMinNetmaskLength - The minimum netmask length that will be required for CIDR allocations in this pool.
        Returns:
        builder
      • allocationResourceTags

        public VpcIpamPoolState.Builder allocationResourceTags​(@Nullable
                                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> allocationResourceTags)
        Parameters:
        allocationResourceTags - Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
        Returns:
        builder
      • allocationResourceTags

        public VpcIpamPoolState.Builder allocationResourceTags​(java.util.Map<java.lang.String,​java.lang.String> allocationResourceTags)
        Parameters:
        allocationResourceTags - Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
        Returns:
        builder
      • arn

        public VpcIpamPoolState.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of IPAM
        Returns:
        builder
      • arn

        public VpcIpamPoolState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of IPAM
        Returns:
        builder
      • autoImport

        public VpcIpamPoolState.Builder autoImport​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> autoImport)
        Parameters:
        autoImport - If you include this argument, IPAM automatically imports any VPCs you have in your scope that fall within the CIDR range in the pool.
        Returns:
        builder
      • autoImport

        public VpcIpamPoolState.Builder autoImport​(java.lang.Boolean autoImport)
        Parameters:
        autoImport - If you include this argument, IPAM automatically imports any VPCs you have in your scope that fall within the CIDR range in the pool.
        Returns:
        builder
      • awsService

        public VpcIpamPoolState.Builder awsService​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> awsService)
        Parameters:
        awsService - Limits which AWS service the pool can be used in. Only useable on public scopes. Valid Values: `ec2`.
        Returns:
        builder
      • awsService

        public VpcIpamPoolState.Builder awsService​(java.lang.String awsService)
        Parameters:
        awsService - Limits which AWS service the pool can be used in. Only useable on public scopes. Valid Values: `ec2`.
        Returns:
        builder
      • cascade

        public VpcIpamPoolState.Builder cascade​(@Nullable
                                                com.pulumi.core.Output<java.lang.Boolean> cascade)
        Parameters:
        cascade - Enables you to quickly delete an IPAM pool and all resources within that pool, including provisioned CIDRs, allocations, and other pools.
        Returns:
        builder
      • cascade

        public VpcIpamPoolState.Builder cascade​(java.lang.Boolean cascade)
        Parameters:
        cascade - Enables you to quickly delete an IPAM pool and all resources within that pool, including provisioned CIDRs, allocations, and other pools.
        Returns:
        builder
      • description

        public VpcIpamPoolState.Builder description​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description for the IPAM pool.
        Returns:
        builder
      • description

        public VpcIpamPoolState.Builder description​(java.lang.String description)
        Parameters:
        description - A description for the IPAM pool.
        Returns:
        builder
      • ipamScopeId

        public VpcIpamPoolState.Builder ipamScopeId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> ipamScopeId)
        Parameters:
        ipamScopeId - The ID of the scope in which you would like to create the IPAM pool.
        Returns:
        builder
      • ipamScopeId

        public VpcIpamPoolState.Builder ipamScopeId​(java.lang.String ipamScopeId)
        Parameters:
        ipamScopeId - The ID of the scope in which you would like to create the IPAM pool.
        Returns:
        builder
      • ipamScopeType

        public VpcIpamPoolState.Builder ipamScopeType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> ipamScopeType)
      • locale

        public VpcIpamPoolState.Builder locale​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> locale)
        Parameters:
        locale - The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. Possible values: Any AWS region, such as `us-east-1`.
        Returns:
        builder
      • locale

        public VpcIpamPoolState.Builder locale​(java.lang.String locale)
        Parameters:
        locale - The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. Possible values: Any AWS region, such as `us-east-1`.
        Returns:
        builder
      • poolDepth

        public VpcIpamPoolState.Builder poolDepth​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> poolDepth)
      • publicIpSource

        public VpcIpamPoolState.Builder publicIpSource​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> publicIpSource)
        Parameters:
        publicIpSource - The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Valid values are `byoip` or `amazon`. Default is `byoip`.
        Returns:
        builder
      • publicIpSource

        public VpcIpamPoolState.Builder publicIpSource​(java.lang.String publicIpSource)
        Parameters:
        publicIpSource - The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Valid values are `byoip` or `amazon`. Default is `byoip`.
        Returns:
        builder
      • publiclyAdvertisable

        public VpcIpamPoolState.Builder publiclyAdvertisable​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> publiclyAdvertisable)
        Parameters:
        publiclyAdvertisable - Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `address_family = "ipv6"` and `public_ip_source = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `public_ip_source = "amazon"`.
        Returns:
        builder
      • publiclyAdvertisable

        public VpcIpamPoolState.Builder publiclyAdvertisable​(java.lang.Boolean publiclyAdvertisable)
        Parameters:
        publiclyAdvertisable - Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `address_family = "ipv6"` and `public_ip_source = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `public_ip_source = "amazon"`.
        Returns:
        builder
      • sourceIpamPoolId

        public VpcIpamPoolState.Builder sourceIpamPoolId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> sourceIpamPoolId)
        Parameters:
        sourceIpamPoolId - The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool.
        Returns:
        builder
      • sourceIpamPoolId

        public VpcIpamPoolState.Builder sourceIpamPoolId​(java.lang.String sourceIpamPoolId)
        Parameters:
        sourceIpamPoolId - The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool.
        Returns:
        builder
      • state

        public VpcIpamPoolState.Builder state​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The ID of the IPAM
        Returns:
        builder
      • state

        public VpcIpamPoolState.Builder state​(java.lang.String state)
        Parameters:
        state - The ID of the IPAM
        Returns:
        builder
      • tags

        public VpcIpamPoolState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VpcIpamPoolState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        @Deprecated
        public VpcIpamPoolState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder