public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy) {
        this.newGameSessionProtectionPolicy = newGameSessionProtectionPolicy.toString();
        return this;
    }
<p>
The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that
already exist are not affected. You can set protection for individual game sessions using <a
href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSession.html">UpdateGameSession</a>
.
</p>
<ul>
<li>
<p>
<b>NoProtection</b> -- The game session can be terminated during a scale-down event.
</p>
</li>
<li>
<p>
<b>FullProtection</b> -- If the game session is in an <code>ACTIVE</code> status, it cannot be terminated during
a scale-down event.
</p>
</li>
</ul>

@param newGameSessionProtectionPolicy
       The game session protection policy to apply to all new game sessions created in this fleet. Game sessions
       that already exist are not affected. You can set protection for individual game sessions using <a
       href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSession.html"
       >UpdateGameSession</a> .</p>
       <ul>
       <li>
       <p>
       <b>NoProtection</b> -- The game session can be terminated during a scale-down event.
       </p>
       </li>
       <li>
       <p>
       <b>FullProtection</b> -- If the game session is in an <code>ACTIVE</code> status, it cannot be terminated
       during a scale-down event.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ProtectionPolicy
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/UpdateFleetAttributesRequest.java