public DisassociateResourceShareRequest withSources(java.util.Collection<String> sources) {
        setSources(sources);
        return this;
    }
<p>
Specifies from which source accounts the service principal no longer has access to the resources in this resource
share.
</p>

@param sources
       Specifies from which source accounts the service principal no longer has access to the resources in this
       resource share.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/DisassociateResourceShareRequest.java