public GetActiveNamesResult withActiveNames(java.util.Collection<String> activeNames) {
        setActiveNames(activeNames);
        return this;
    }
<p>
The list of active names returned by the get active names request.
</p>

@param activeNames
       The list of active names returned by the get active names request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetActiveNamesResult.java