public ListFleetsForVehicleResult withFleets(String... fleets) {
        if (this.fleets == null) {
            setFleets(new java.util.ArrayList<String>(fleets.length));
        }
        for (String ele : fleets) {
            this.fleets.add(ele);
        }
        return this;
    }
<p>
A list of fleet IDs that the vehicle is associated with.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFleets(java.util.Collection)} or {@link #withFleets(java.util.Collection)} if you want to override the
existing values.
</p>

@param fleets
       A list of fleet IDs that the vehicle is associated with.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/ListFleetsForVehicleResult.java