public InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment) {
        this.targetEnvironment = targetEnvironment.toString();
        return this;
    }
<p>
The target virtualization environment.
</p>

@param targetEnvironment
       The target virtualization environment.
@return Returns a reference to this object so that method calls can be chained together.
@see ExportEnvironment
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceExportDetails.java