public Location withAvailablePortSpeeds(String... availablePortSpeeds) {
        if (this.availablePortSpeeds == null) {
            setAvailablePortSpeeds(new com.amazonaws.internal.SdkInternalList<String>(availablePortSpeeds.length));
        }
        for (String ele : availablePortSpeeds) {
            this.availablePortSpeeds.add(ele);
        }
        return this;
    }
<p>
The available port speeds for the location.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAvailablePortSpeeds(java.util.Collection)} or {@link #withAvailablePortSpeeds(java.util.Collection)}
if you want to override the existing values.
</p>

@param availablePortSpeeds
       The available port speeds for the location.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/Location.java