public CreateFleetRequest withScriptId(String scriptId) {
        setScriptId(scriptId);
        return this;
    }
<p>
The unique identifier for a Realtime configuration script to be deployed to a fleet with compute type
<code>EC2</code>. You can use either the script ID or ARN. Scripts must be uploaded to Amazon GameLift prior to
creating the fleet. This fleet property can't be changed after the fleet is created.
</p>

@param scriptId
       The unique identifier for a Realtime configuration script to be deployed to a fleet with compute type
       <code>EC2</code>. You can use either the script ID or ARN. Scripts must be uploaded to Amazon GameLift
       prior to creating the fleet. This fleet property can't be changed after the fleet is created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/CreateFleetRequest.java