public static interface ModifyIpamPoolRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyIpamPoolRequest.Builder,ModifyIpamPoolRequest>
Modifier and Type | Method and Description |
---|---|
ModifyIpamPoolRequest.Builder |
addAllocationResourceTags(Collection<RequestIpamResourceTag> addAllocationResourceTags)
Add tag allocation rules to a pool.
|
ModifyIpamPoolRequest.Builder |
addAllocationResourceTags(Consumer<RequestIpamResourceTag.Builder>... addAllocationResourceTags)
Add tag allocation rules to a pool.
|
ModifyIpamPoolRequest.Builder |
addAllocationResourceTags(RequestIpamResourceTag... addAllocationResourceTags)
Add tag allocation rules to a pool.
|
ModifyIpamPoolRequest.Builder |
allocationDefaultNetmaskLength(Integer allocationDefaultNetmaskLength)
The default netmask length for allocations added to this pool.
|
ModifyIpamPoolRequest.Builder |
allocationMaxNetmaskLength(Integer allocationMaxNetmaskLength)
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant.
|
ModifyIpamPoolRequest.Builder |
allocationMinNetmaskLength(Integer allocationMinNetmaskLength)
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant.
|
ModifyIpamPoolRequest.Builder |
autoImport(Boolean autoImport)
If true, IPAM will continuously look for resources within the CIDR range of this pool and automatically
import them as allocations into your IPAM.
|
ModifyIpamPoolRequest.Builder |
clearAllocationDefaultNetmaskLength(Boolean clearAllocationDefaultNetmaskLength)
Clear the default netmask length allocation rule for this pool.
|
ModifyIpamPoolRequest.Builder |
description(String description)
The description of the IPAM pool you want to modify.
|
ModifyIpamPoolRequest.Builder |
ipamPoolId(String ipamPoolId)
The ID of the IPAM pool you want to modify.
|
ModifyIpamPoolRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifyIpamPoolRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifyIpamPoolRequest.Builder |
removeAllocationResourceTags(Collection<RequestIpamResourceTag> removeAllocationResourceTags)
Remove tag allocation rules from a pool.
|
ModifyIpamPoolRequest.Builder |
removeAllocationResourceTags(Consumer<RequestIpamResourceTag.Builder>... removeAllocationResourceTags)
Remove tag allocation rules from a pool.
|
ModifyIpamPoolRequest.Builder |
removeAllocationResourceTags(RequestIpamResourceTag... removeAllocationResourceTags)
Remove tag allocation rules from a pool.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyIpamPoolRequest.Builder ipamPoolId(String ipamPoolId)
The ID of the IPAM pool you want to modify.
ipamPoolId
- The ID of the IPAM pool you want to modify.ModifyIpamPoolRequest.Builder description(String description)
The description of the IPAM pool you want to modify.
description
- The description of the IPAM pool you want to modify.ModifyIpamPoolRequest.Builder autoImport(Boolean autoImport)
If true, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
autoImport
- If true, IPAM will continuously look for resources within the CIDR range of this pool and
automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these
resources must not already be allocated to other resources in order for the import to succeed. IPAM
will import a CIDR regardless of its compliance with the pool's allocation rules, so a resource might
be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap,
IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM
will randomly import one of them only.
A locale must be set on the pool for this feature to work.
ModifyIpamPoolRequest.Builder allocationMinNetmaskLength(Integer allocationMinNetmaskLength)
The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. The minimum netmask length must be less than the maximum netmask length.
allocationMinNetmaskLength
- The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. Possible
netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 -
128. The minimum netmask length must be less than the maximum netmask length.ModifyIpamPoolRequest.Builder allocationMaxNetmaskLength(Integer allocationMaxNetmaskLength)
The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.The maximum netmask length must be greater than the minimum netmask length.
allocationMaxNetmaskLength
- The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. Possible
netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 -
128.The maximum netmask length must be greater than the minimum netmask length.ModifyIpamPoolRequest.Builder allocationDefaultNetmaskLength(Integer allocationDefaultNetmaskLength)
The 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.
allocationDefaultNetmaskLength
- The 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.ModifyIpamPoolRequest.Builder clearAllocationDefaultNetmaskLength(Boolean clearAllocationDefaultNetmaskLength)
Clear the default netmask length allocation rule for this pool.
clearAllocationDefaultNetmaskLength
- Clear the default netmask length allocation rule for this pool.ModifyIpamPoolRequest.Builder addAllocationResourceTags(Collection<RequestIpamResourceTag> addAllocationResourceTags)
Add tag allocation rules to a pool. For more information about allocation rules, see Create a top-level pool in the Amazon VPC IPAM User Guide.
addAllocationResourceTags
- Add tag allocation rules to a pool. For more information about allocation rules, see Create a top-level pool in
the Amazon VPC IPAM User Guide.ModifyIpamPoolRequest.Builder addAllocationResourceTags(RequestIpamResourceTag... addAllocationResourceTags)
Add tag allocation rules to a pool. For more information about allocation rules, see Create a top-level pool in the Amazon VPC IPAM User Guide.
addAllocationResourceTags
- Add tag allocation rules to a pool. For more information about allocation rules, see Create a top-level pool in
the Amazon VPC IPAM User Guide.ModifyIpamPoolRequest.Builder addAllocationResourceTags(Consumer<RequestIpamResourceTag.Builder>... addAllocationResourceTags)
Add tag allocation rules to a pool. For more information about allocation rules, see Create a top-level pool in the Amazon VPC IPAM User Guide.
This is a convenience method that creates an instance of theRequestIpamResourceTag.Builder
avoiding the need to create
one manually via RequestIpamResourceTag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #addAllocationResourceTags(List
.
addAllocationResourceTags
- a consumer that will call methods on
RequestIpamResourceTag.Builder
#addAllocationResourceTags(java.util.Collection)
ModifyIpamPoolRequest.Builder removeAllocationResourceTags(Collection<RequestIpamResourceTag> removeAllocationResourceTags)
Remove tag allocation rules from a pool.
removeAllocationResourceTags
- Remove tag allocation rules from a pool.ModifyIpamPoolRequest.Builder removeAllocationResourceTags(RequestIpamResourceTag... removeAllocationResourceTags)
Remove tag allocation rules from a pool.
removeAllocationResourceTags
- Remove tag allocation rules from a pool.ModifyIpamPoolRequest.Builder removeAllocationResourceTags(Consumer<RequestIpamResourceTag.Builder>... removeAllocationResourceTags)
Remove tag allocation rules from a pool.
This is a convenience method that creates an instance of theRequestIpamResourceTag.Builder
avoiding the need to create
one manually via RequestIpamResourceTag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #removeAllocationResourceTags(List
.
removeAllocationResourceTags
- a consumer that will call methods on
RequestIpamResourceTag.Builder
#removeAllocationResourceTags(java.util.Collection)
ModifyIpamPoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyIpamPoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.