public SavingsPlan withState(SavingsPlanState state) {
        this.state = state.toString();
        return this;
    }
<p>
The current state.
</p>

@param state
       The current state.
@return Returns a reference to this object so that method calls can be chained together.
@see SavingsPlanState
aws-java-sdk-savingsplans/src/main/java/com/amazonaws/services/savingsplans/model/SavingsPlan.java