public GetScheduleGroupResult withState(String state) {
        setState(state);
        return this;
    }
<p>
Specifies the state of the schedule group.
</p>

@param state
       Specifies the state of the schedule group.
@return Returns a reference to this object so that method calls can be chained together.
@see ScheduleGroupState
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/GetScheduleGroupResult.java