public AssignPrivateIpAddressesResult withAssignedIpv4Prefixes(Ipv4PrefixSpecification... assignedIpv4Prefixes) {
        if (this.assignedIpv4Prefixes == null) {
            setAssignedIpv4Prefixes(new com.amazonaws.internal.SdkInternalList<Ipv4PrefixSpecification>(assignedIpv4Prefixes.length));
        }
        for (Ipv4PrefixSpecification ele : assignedIpv4Prefixes) {
            this.assignedIpv4Prefixes.add(ele);
        }
        return this;
    }
<p>
The IPv4 prefixes that are assigned to the network interface.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssignedIpv4Prefixes(java.util.Collection)} or {@link #withAssignedIpv4Prefixes(java.util.Collection)}
if you want to override the existing values.
</p>

@param assignedIpv4Prefixes
       The IPv4 prefixes that are assigned to the network interface.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/AssignPrivateIpAddressesResult.java