public void setEc2InstanceDetails(CoverageEc2InstanceDetails ec2InstanceDetails) {
        this.ec2InstanceDetails = ec2InstanceDetails;
    }
<p>
Information about the Amazon EC2 instance assessed for runtime coverage.
</p>

@param ec2InstanceDetails
       Information about the Amazon EC2 instance assessed for runtime coverage.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/CoverageResourceDetails.java