public CreateFleetRequest withOptimizeForEndUserLocation(Boolean optimizeForEndUserLocation) {
        setOptimizeForEndUserLocation(optimizeForEndUserLocation);
        return this;
    }
<p>
The option to optimize for better performance by routing traffic through the closest AWS Region to users, which
may be outside of your home Region.
</p>

@param optimizeForEndUserLocation
       The option to optimize for better performance by routing traffic through the closest AWS Region to users,
       which may be outside of your home Region.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-worklink/src/main/java/com/amazonaws/services/worklink/model/CreateFleetRequest.java