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

@param ec2InstanceDetails
       Information about the Amazon EC2 instance assessed for runtime coverage.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/CoverageResourceDetails.java