public RecordingConfiguration withState(RecordingConfigurationState state) {
        this.state = state.toString();
        return this;
    }
<p>
Indicates the current state of the recording configuration. When the state is <code>ACTIVE</code>, the
configuration is ready for recording a channel stream.
</p>

@param state
       Indicates the current state of the recording configuration. When the state is <code>ACTIVE</code>, the
       configuration is ready for recording a channel stream.
@return Returns a reference to this object so that method calls can be chained together.
@see RecordingConfigurationState
aws-java-sdk-ivs/src/main/java/com/amazonaws/services/ivs/model/RecordingConfiguration.java