public void setConfiguration(Ec2InstanceConfiguration configuration) {
        this.configuration = configuration;
    }
<p>
The EC2 instance configuration used for recommendations.
</p>

@param configuration
       The EC2 instance configuration used for recommendations.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/Ec2Instance.java