public CreateFleetRequest withLogPaths(String... logPaths) {
        if (this.logPaths == null) {
            setLogPaths(new java.util.ArrayList<String>(logPaths.length));
        }
        for (String ele : logPaths) {
            this.logPaths.add(ele);
        }
        return this;
    }
<p>
<b>This parameter is no longer used.</b> To specify where Amazon GameLift should store log files once a server
process shuts down, use the Amazon GameLift server API <code>ProcessReady()</code> and specify one or more
directory paths in <code>logParameters</code>. For more information, see <a href=
"https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-initialize"
>Initialize the server process</a> in the <i>Amazon GameLift Developer Guide</i>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogPaths(java.util.Collection)} or {@link #withLogPaths(java.util.Collection)} if you want to override
the existing values.
</p>

@param logPaths
       <b>This parameter is no longer used.</b> To specify where Amazon GameLift should store log files once a
       server process shuts down, use the Amazon GameLift server API <code>ProcessReady()</code> and specify one
       or more directory paths in <code>logParameters</code>. For more information, see <a href=
       "https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-initialize"
       >Initialize the server process</a> in the <i>Amazon GameLift Developer Guide</i>.
@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