public void setAssociatePublicIpAddress(Boolean associatePublicIpAddress) {
        this.associatePublicIpAddress = associatePublicIpAddress;
    }
<p>
Indicates whether to assign a public IPv4 address to a network interface. This option can be enabled for any
network interface but will only apply to the primary network interface (eth0).
</p>

@param associatePublicIpAddress
       Indicates whether to assign a public IPv4 address to a network interface. This option can be enabled for
       any network interface but will only apply to the primary network interface (eth0).
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeNetworkInterfaceAttributeResult.java