Class IpamPolicyAllocationRule
java.lang.Object
software.amazon.awssdk.services.ec2.model.IpamPolicyAllocationRule
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpamPolicyAllocationRule.Builder,IpamPolicyAllocationRule>
@Generated("software.amazon.awssdk:codegen")
public final class IpamPolicyAllocationRule
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<IpamPolicyAllocationRule.Builder,IpamPolicyAllocationRule>
Information about an IPAM policy allocation rule.
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends IpamPolicyAllocationRule.Builder>final StringThe ID of the source IPAM pool for the allocation rule.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sourceIpamPoolId
The ID of the source IPAM pool for the allocation rule.
An IPAM pool is a collection of IP addresses in IPAM that can be allocated to Amazon Web Services resources.
- Returns:
- The ID of the source IPAM pool for the allocation rule.
An IPAM pool is a collection of IP addresses in IPAM that can be allocated to Amazon Web Services resources.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<IpamPolicyAllocationRule.Builder,IpamPolicyAllocationRule>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-