public void setIpv4Prefixes(java.util.Collection<Ipv4PrefixSpecificationResponse> ipv4Prefixes) {
        if (ipv4Prefixes == null) {
            this.ipv4Prefixes = null;
            return;
        }

        this.ipv4Prefixes = new com.amazonaws.internal.SdkInternalList<Ipv4PrefixSpecificationResponse>(ipv4Prefixes);
    }
<p>
One or more IPv4 prefixes assigned to the network interface.
</p>

@param ipv4Prefixes
       One or more IPv4 prefixes assigned to the network interface.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/LaunchTemplateInstanceNetworkInterfaceSpecification.java