public GameSession withStatus(GameSessionStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
Current status of the game session. A game session must have an <code>ACTIVE</code> status to have player
sessions.
</p>

@param status
       Current status of the game session. A game session must have an <code>ACTIVE</code> status to have player
       sessions.
@return Returns a reference to this object so that method calls can be chained together.
@see GameSessionStatus
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/GameSession.java