public java.util.List<Ipv4PrefixSpecificationRequest> getIpv4Prefixes() {
        if (ipv4Prefixes == null) {
            ipv4Prefixes = new com.amazonaws.internal.SdkInternalList<Ipv4PrefixSpecificationRequest>();
        }
        return ipv4Prefixes;
    }
<p>
The IPv4 prefixes assigned to the network interface.
</p>
<p>
You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific
private IPv4 addresses, or a count of private IPv4 addresses.
</p>

@return The IPv4 prefixes assigned to the network interface.</p>
        <p>
        You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes,
        specific private IPv4 addresses, or a count of private IPv4 addresses.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceRequest.java