public ImagePermissions withAllowFleet(Boolean allowFleet) {
        setAllowFleet(allowFleet);
        return this;
    }
<p>
Indicates whether the image can be used for a fleet.
</p>

@param allowFleet
       Indicates whether the image can be used for a fleet.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/ImagePermissions.java