Package com.pulumi.aws.ec2.inputs
Class VpcIpamPoolState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.VpcIpamPoolState.Builder
-
- Enclosing class:
- VpcIpamPoolState
public static final class VpcIpamPoolState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(VpcIpamPoolState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VpcIpamPoolState.Builder
addressFamily(com.pulumi.core.Output<java.lang.String> addressFamily)
VpcIpamPoolState.Builder
addressFamily(java.lang.String addressFamily)
VpcIpamPoolState.Builder
allocationDefaultNetmaskLength(com.pulumi.core.Output<java.lang.Integer> allocationDefaultNetmaskLength)
VpcIpamPoolState.Builder
allocationDefaultNetmaskLength(java.lang.Integer allocationDefaultNetmaskLength)
VpcIpamPoolState.Builder
allocationMaxNetmaskLength(com.pulumi.core.Output<java.lang.Integer> allocationMaxNetmaskLength)
VpcIpamPoolState.Builder
allocationMaxNetmaskLength(java.lang.Integer allocationMaxNetmaskLength)
VpcIpamPoolState.Builder
allocationMinNetmaskLength(com.pulumi.core.Output<java.lang.Integer> allocationMinNetmaskLength)
VpcIpamPoolState.Builder
allocationMinNetmaskLength(java.lang.Integer allocationMinNetmaskLength)
VpcIpamPoolState.Builder
allocationResourceTags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> allocationResourceTags)
VpcIpamPoolState.Builder
allocationResourceTags(java.util.Map<java.lang.String,java.lang.String> allocationResourceTags)
VpcIpamPoolState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
VpcIpamPoolState.Builder
arn(java.lang.String arn)
VpcIpamPoolState.Builder
autoImport(com.pulumi.core.Output<java.lang.Boolean> autoImport)
VpcIpamPoolState.Builder
autoImport(java.lang.Boolean autoImport)
VpcIpamPoolState.Builder
awsService(com.pulumi.core.Output<java.lang.String> awsService)
VpcIpamPoolState.Builder
awsService(java.lang.String awsService)
VpcIpamPoolState
build()
VpcIpamPoolState.Builder
cascade(com.pulumi.core.Output<java.lang.Boolean> cascade)
VpcIpamPoolState.Builder
cascade(java.lang.Boolean cascade)
VpcIpamPoolState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
VpcIpamPoolState.Builder
description(java.lang.String description)
VpcIpamPoolState.Builder
ipamScopeId(com.pulumi.core.Output<java.lang.String> ipamScopeId)
VpcIpamPoolState.Builder
ipamScopeId(java.lang.String ipamScopeId)
VpcIpamPoolState.Builder
ipamScopeType(com.pulumi.core.Output<java.lang.String> ipamScopeType)
VpcIpamPoolState.Builder
ipamScopeType(java.lang.String ipamScopeType)
VpcIpamPoolState.Builder
locale(com.pulumi.core.Output<java.lang.String> locale)
VpcIpamPoolState.Builder
locale(java.lang.String locale)
VpcIpamPoolState.Builder
poolDepth(com.pulumi.core.Output<java.lang.Integer> poolDepth)
VpcIpamPoolState.Builder
poolDepth(java.lang.Integer poolDepth)
VpcIpamPoolState.Builder
publicIpSource(com.pulumi.core.Output<java.lang.String> publicIpSource)
VpcIpamPoolState.Builder
publicIpSource(java.lang.String publicIpSource)
VpcIpamPoolState.Builder
publiclyAdvertisable(com.pulumi.core.Output<java.lang.Boolean> publiclyAdvertisable)
VpcIpamPoolState.Builder
publiclyAdvertisable(java.lang.Boolean publiclyAdvertisable)
VpcIpamPoolState.Builder
sourceIpamPoolId(com.pulumi.core.Output<java.lang.String> sourceIpamPoolId)
VpcIpamPoolState.Builder
sourceIpamPoolId(java.lang.String sourceIpamPoolId)
VpcIpamPoolState.Builder
state(com.pulumi.core.Output<java.lang.String> state)
VpcIpamPoolState.Builder
state(java.lang.String state)
VpcIpamPoolState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
VpcIpamPoolState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
VpcIpamPoolState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.VpcIpamPoolState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VpcIpamPoolState defaults)
-
-
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)
-
ipamScopeType
public VpcIpamPoolState.Builder ipamScopeType(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)
-
poolDepth
public VpcIpamPoolState.Builder poolDepth(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
-
build
public VpcIpamPoolState build()
-
-