Interface IpamPolicyDocument.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPolicyDocument.Builder,,IpamPolicyDocument> SdkBuilder<IpamPolicyDocument.Builder,,IpamPolicyDocument> SdkPojo
- Enclosing class:
IpamPolicyDocument
-
Method Summary
Modifier and TypeMethodDescriptionallocationRules(Collection<IpamPolicyAllocationRule> allocationRules) The allocation rules in the IPAM policy document.allocationRules(Consumer<IpamPolicyAllocationRule.Builder>... allocationRules) The allocation rules in the IPAM policy document.allocationRules(IpamPolicyAllocationRule... allocationRules) The allocation rules in the IPAM policy document.ipamPolicyId(String ipamPolicyId) The ID of the IPAM policy.The locale of the IPAM policy document.resourceType(String resourceType) The resource type of the IPAM policy document.resourceType(IpamPolicyResourceType resourceType) The resource type of the IPAM policy document.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ipamPolicyId
The ID of the IPAM policy.
- Parameters:
ipamPolicyId- The ID of the IPAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
The locale of the IPAM policy document.
- Parameters:
locale- The locale of the IPAM policy document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type of the IPAM policy document.
The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
- Parameters:
resourceType- The resource type of the IPAM policy document.The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceType
The resource type of the IPAM policy document.
The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
- Parameters:
resourceType- The resource type of the IPAM policy document.The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
allocationRules
The allocation rules in the IPAM policy document.
Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Parameters:
allocationRules- The allocation rules in the IPAM policy document.Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allocationRules
The allocation rules in the IPAM policy document.
Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Parameters:
allocationRules- The allocation rules in the IPAM policy document.Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allocationRules
IpamPolicyDocument.Builder allocationRules(Consumer<IpamPolicyAllocationRule.Builder>... allocationRules) The allocation rules in the IPAM policy document.
Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
This is a convenience method that creates an instance of theIpamPolicyAllocationRule.Builderavoiding the need to create one manually viaIpamPolicyAllocationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallocationRules(List<IpamPolicyAllocationRule>).- Parameters:
allocationRules- a consumer that will call methods onIpamPolicyAllocationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-