public AssociateResourceShareResult withResourceShareAssociations(java.util.Collection<ResourceShareAssociation> resourceShareAssociations) {
        setResourceShareAssociations(resourceShareAssociations);
        return this;
    }
<p>
An array of objects that contain information about the associations.
</p>

@param resourceShareAssociations
       An array of objects that contain information about the associations.
@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/AssociateResourceShareResult.java