public CreateConnectorResult withConnectorState(ConnectorState connectorState) {
        this.connectorState = connectorState.toString();
        return this;
    }
<p>
The state of the connector.
</p>

@param connectorState
       The state of the connector.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectorState
aws-java-sdk-kafkaconnect/src/main/java/com/amazonaws/services/kafkaconnect/model/CreateConnectorResult.java