public Boolean getDeleteOnTermination() {
        return this.deleteOnTermination;
    }
<p>
Indicates whether the network interface is deleted when the instance is terminated.
</p>

@return Indicates whether the network interface is deleted when the instance is terminated.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/NetworkInterfaceAttachment.java