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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - ARN of IPAM
        Returns:
        builder
      • autoImport

        public VpcIpamPoolState.Builder autoImport​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> autoImport)
        Parameters:
        autoImport - Whether to automatically import 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 - Whether to automatically import 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 - Whether 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 - Whether 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 - Description for the IPAM pool.
        Returns:
        builder
      • description

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

        public VpcIpamPoolState.Builder ipamScopeId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> ipamScopeId)
        Parameters:
        ipamScopeId - 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 - 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)
        Parameters:
        ipamScopeType - Type of the scope the pool belongs to.
        Returns:
        builder
      • ipamScopeType

        public VpcIpamPoolState.Builder ipamScopeType​(java.lang.String ipamScopeType)
        Parameters:
        ipamScopeType - Type of the scope the pool belongs to.
        Returns:
        builder
      • locale

        public VpcIpamPoolState.Builder locale​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> locale)
        Parameters:
        locale - 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 - 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)
        Parameters:
        poolDepth - Depth of pools in your IPAM pool.
        Returns:
        builder
      • poolDepth

        public VpcIpamPoolState.Builder poolDepth​(java.lang.Integer poolDepth)
        Parameters:
        poolDepth - Depth of pools in your IPAM pool.
        Returns:
        builder
      • publicIpSource

        public VpcIpamPoolState.Builder publicIpSource​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> publicIpSource)
        Parameters:
        publicIpSource - 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 - 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 - Whether IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported.
        Returns:
        builder
      • publiclyAdvertisable

        public VpcIpamPoolState.Builder publiclyAdvertisable​(java.lang.Boolean publiclyAdvertisable)
        Parameters:
        publiclyAdvertisable - Whether IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported.
        Returns:
        builder
      • region

        public VpcIpamPoolState.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public VpcIpamPoolState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • sourceIpamPoolId

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

        public VpcIpamPoolState.Builder sourceResource​(@Nullable
                                                       com.pulumi.core.Output<VpcIpamPoolSourceResourceArgs> sourceResource)
        Parameters:
        sourceResource - Resource to use to use to configure a resource planning IPAM Pool. If configured, the `locale` of the parent pool must match the region that the VPC resides in.
        Returns:
        builder
      • sourceResource

        public VpcIpamPoolState.Builder sourceResource​(VpcIpamPoolSourceResourceArgs sourceResource)
        Parameters:
        sourceResource - Resource to use to use to configure a resource planning IPAM Pool. If configured, the `locale` of the parent pool must match the region that the VPC resides in.
        Returns:
        builder
      • state

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

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

        public VpcIpamPoolState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. 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 VpcIpamPoolState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. 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 VpcIpamPoolState.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 VpcIpamPoolState.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