Interface IpamPolicyDocument.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpamPolicyDocument.Builder,IpamPolicyDocument>,SdkBuilder<IpamPolicyDocument.Builder,IpamPolicyDocument>,SdkPojo
- Enclosing class:
- IpamPolicyDocument
@Mutable @NotThreadSafe public static interface IpamPolicyDocument.Builder extends SdkPojo, CopyableBuilder<IpamPolicyDocument.Builder,IpamPolicyDocument>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IpamPolicyDocument.BuilderallocationRules(Collection<IpamPolicyAllocationRule> allocationRules)The allocation rules in the IPAM policy document.IpamPolicyDocument.BuilderallocationRules(Consumer<IpamPolicyAllocationRule.Builder>... allocationRules)The allocation rules in the IPAM policy document.IpamPolicyDocument.BuilderallocationRules(IpamPolicyAllocationRule... allocationRules)The allocation rules in the IPAM policy document.IpamPolicyDocument.BuilderipamPolicyId(String ipamPolicyId)The ID of the IPAM policy.IpamPolicyDocument.Builderlocale(String locale)The locale of the IPAM policy document.IpamPolicyDocument.BuilderresourceType(String resourceType)The resource type of the IPAM policy document.IpamPolicyDocument.BuilderresourceType(IpamPolicyResourceType resourceType)The resource type of the IPAM policy document.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ipamPolicyId
IpamPolicyDocument.Builder ipamPolicyId(String 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
IpamPolicyDocument.Builder locale(String 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
IpamPolicyDocument.Builder resourceType(String 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:
IpamPolicyResourceType,IpamPolicyResourceType
-
-
resourceType
IpamPolicyDocument.Builder resourceType(IpamPolicyResourceType 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:
IpamPolicyResourceType,IpamPolicyResourceType
-
-
allocationRules
IpamPolicyDocument.Builder allocationRules(Collection<IpamPolicyAllocationRule> 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(IpamPolicyAllocationRule... 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 to#allocationRules(List.) - 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:
#allocationRules(java.util.Collection)
-
-