public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv4Prefixes(java.util.Collection<Ipv4PrefixSpecificationResponse> ipv4Prefixes) {
        setIpv4Prefixes(ipv4Prefixes);
        return this;
    }
<p>
One or more IPv4 prefixes assigned to the network interface.
</p>

@param ipv4Prefixes
       One or more IPv4 prefixes 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/LaunchTemplateInstanceNetworkInterfaceSpecification.java