public ErrorRootCauseService withNames(java.util.Collection<String> names) {
        setNames(names);
        return this;
    }
<p>
A collection of associated service names.
</p>

@param names
       A collection of associated service names.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/ErrorRootCauseService.java