Package com.pulumi.aws.ec2
Class VpcIpamPoolArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.VpcIpamPoolArgs.Builder
-
- Enclosing class:
- VpcIpamPoolArgs
public static final class VpcIpamPoolArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(VpcIpamPoolArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpcIpamPoolArgs.BuilderaddressFamily(com.pulumi.core.Output<java.lang.String> addressFamily)VpcIpamPoolArgs.BuilderaddressFamily(java.lang.String addressFamily)VpcIpamPoolArgs.BuilderallocationDefaultNetmaskLength(com.pulumi.core.Output<java.lang.Integer> allocationDefaultNetmaskLength)VpcIpamPoolArgs.BuilderallocationDefaultNetmaskLength(java.lang.Integer allocationDefaultNetmaskLength)VpcIpamPoolArgs.BuilderallocationMaxNetmaskLength(com.pulumi.core.Output<java.lang.Integer> allocationMaxNetmaskLength)VpcIpamPoolArgs.BuilderallocationMaxNetmaskLength(java.lang.Integer allocationMaxNetmaskLength)VpcIpamPoolArgs.BuilderallocationMinNetmaskLength(com.pulumi.core.Output<java.lang.Integer> allocationMinNetmaskLength)VpcIpamPoolArgs.BuilderallocationMinNetmaskLength(java.lang.Integer allocationMinNetmaskLength)VpcIpamPoolArgs.BuilderallocationResourceTags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> allocationResourceTags)VpcIpamPoolArgs.BuilderallocationResourceTags(java.util.Map<java.lang.String,java.lang.String> allocationResourceTags)VpcIpamPoolArgs.BuilderautoImport(com.pulumi.core.Output<java.lang.Boolean> autoImport)VpcIpamPoolArgs.BuilderautoImport(java.lang.Boolean autoImport)VpcIpamPoolArgs.BuilderawsService(com.pulumi.core.Output<java.lang.String> awsService)VpcIpamPoolArgs.BuilderawsService(java.lang.String awsService)VpcIpamPoolArgsbuild()VpcIpamPoolArgs.Buildercascade(com.pulumi.core.Output<java.lang.Boolean> cascade)VpcIpamPoolArgs.Buildercascade(java.lang.Boolean cascade)VpcIpamPoolArgs.Builderdescription(com.pulumi.core.Output<java.lang.String> description)VpcIpamPoolArgs.Builderdescription(java.lang.String description)VpcIpamPoolArgs.BuilderipamScopeId(com.pulumi.core.Output<java.lang.String> ipamScopeId)VpcIpamPoolArgs.BuilderipamScopeId(java.lang.String ipamScopeId)VpcIpamPoolArgs.Builderlocale(com.pulumi.core.Output<java.lang.String> locale)VpcIpamPoolArgs.Builderlocale(java.lang.String locale)VpcIpamPoolArgs.BuilderpublicIpSource(com.pulumi.core.Output<java.lang.String> publicIpSource)VpcIpamPoolArgs.BuilderpublicIpSource(java.lang.String publicIpSource)VpcIpamPoolArgs.BuilderpubliclyAdvertisable(com.pulumi.core.Output<java.lang.Boolean> publiclyAdvertisable)VpcIpamPoolArgs.BuilderpubliclyAdvertisable(java.lang.Boolean publiclyAdvertisable)VpcIpamPoolArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)VpcIpamPoolArgs.Builderregion(java.lang.String region)VpcIpamPoolArgs.BuildersourceIpamPoolId(com.pulumi.core.Output<java.lang.String> sourceIpamPoolId)VpcIpamPoolArgs.BuildersourceIpamPoolId(java.lang.String sourceIpamPoolId)VpcIpamPoolArgs.BuildersourceResource(VpcIpamPoolSourceResourceArgs sourceResource)VpcIpamPoolArgs.BuildersourceResource(com.pulumi.core.Output<VpcIpamPoolSourceResourceArgs> sourceResource)VpcIpamPoolArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)VpcIpamPoolArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VpcIpamPoolArgs defaults)
-
-
Method Detail
-
addressFamily
public VpcIpamPoolArgs.Builder addressFamily(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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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
-
autoImport
public VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description for the IPAM pool.- Returns:
- builder
-
description
public VpcIpamPoolArgs.Builder description(java.lang.String description)
- Parameters:
description- Description for the IPAM pool.- Returns:
- builder
-
ipamScopeId
public VpcIpamPoolArgs.Builder ipamScopeId(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 VpcIpamPoolArgs.Builder ipamScopeId(java.lang.String ipamScopeId)
- Parameters:
ipamScopeId- ID of the scope in which you would like to create the IPAM pool.- Returns:
- builder
-
locale
public VpcIpamPoolArgs.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 VpcIpamPoolArgs.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
-
publicIpSource
public VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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 VpcIpamPoolArgs.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
-
tags
public VpcIpamPoolArgs.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 VpcIpamPoolArgs.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
-
build
public VpcIpamPoolArgs build()
-
-