public Ec2InstanceSavingsPlans withConfiguration(Ec2InstanceSavingsPlansConfiguration configuration) {
        setConfiguration(configuration);
        return this;
    }
<p>
The EC2 instance Savings Plans configuration used for recommendations.
</p>

@param configuration
       The EC2 instance Savings Plans configuration used for recommendations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/Ec2InstanceSavingsPlans.java