public ContactFlowModuleSummary withState(String state) {
        setState(state);
        return this;
    }
<p>
The type of flow module.
</p>

@param state
       The type of flow module.
@return Returns a reference to this object so that method calls can be chained together.
@see ContactFlowModuleState
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ContactFlowModuleSummary.java